TinyPortal

Development => Support => Topic started by: sh33zo on April 09, 2005, 01:14:12 AM

Title: Problem with the article in categories. (
Post by: sh33zo on April 09, 2005, 01:14:12 AM
I am experiencing a problem when I have more than 3 articles on a category.
The second page should normally display the remaining articles on the second page, but it displays the ones that come from the forum instead!
look here for an example!
http://musakk.net/forum/index.php?cat=47
This was also a problem in version 0.04beta and I recently upgraded to 0.06beta thinking it would probably be solved but the problem is still there.
Could other verify and see if this is happening to others also?
Please give some examples (URLS PLZ!!)
Thank you,
Sh33zo ;)
Title: Re: Problem with the article in categories. (
Post by: Bjørn on April 09, 2005, 01:17:53 AM
i see it...its the page links that are wrong, they should go to page 2 of the category, instead they go to the frontpage page 2 - where you probably have both articles and news.

I will correct it ASAP.
Title: Re: Problem with the article in categories. (
Post by: Bjørn on April 09, 2005, 01:43:16 AM
Hm...this IS fixed in v0.6beta. But you are using Themis_tp, which I think have an older Tportal.template.php file...try to erase that file and see if the links work correctly then.

you see...when viewing a category the url is index.php?cat=xxx, and the links to pages should be index.php?cat=xx;tpstart=10 (for example, the "10" being number of articles per page). So you are getting just index.php?tpstart=10 which is the frontpage , not a single category.
Title: Re: Problem with the article in categories. (
Post by: sh33zo on April 10, 2005, 04:49:57 PM
erase the file???
hmmmm.. i changed alot of things on the template.. dont really wanna delete it!
you sure i should delete?
ok the I delete and then wat do i need to put a newer version?

Could it be fixed?
replacing some code instead?
please let me know!!
Title: Re: Problem with the article in categories. (
Post by: Bjørn on April 10, 2005, 06:05:27 PM
I mean it contain some older code that instead should be taken from the Tportal.template.php in default folder - which will be more current.

But if you have modified the TPortal.template.php inside Themis, then do not erase it....at once. First apply your changes to Tportal.template.php in the default folder too, then erase that one in Themis.
Title: Re: Problem with the article in categories. (
Post by: sh33zo on April 12, 2005, 01:06:49 AM
ok well,
I modifed some colors only so it has nothing to do with the code!
I guess i could try the new files because i would like to fix this problem.
Where can I get the latest template files?
Please let me know!
sh33zo :)
Title: Re: Problem with the article in categories. (
Post by: Bjørn on April 12, 2005, 09:34:20 AM
If you have the latest version of TP installed - you already have it. :)

You see, by deleting the TPortal file inside Themis folder, SMF automatically gets it from default theme instead - and that one is the most current(if you have updated to last beta of course).
Title: Re: Problem with the article in categories. (
Post by: sh33zo on April 14, 2005, 06:07:33 PM
Dude you are a god!!!
It was that easy!!!!
;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
ok yeah so I just deleted the file and then it replaced it and boom it working fine now!!!
whooohooo!!!! ;) :D ;D ;D :D 8) 8) 8)
Thank U very mucho meng!!!!