TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 195,996
  • Total Topics: 21,327
  • Online today: 214
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 156
  • Total: 156

Problem with the article in categories. (

Started by sh33zo, April 09, 2005, 01:14:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sh33zo

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 ;)

Bjørn

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.

Bjørn

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.

sh33zo

#3
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!!

Bjørn

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.

sh33zo

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 :)

Bjørn

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).

sh33zo

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!!!!

This website is proudly hosted on Crocweb Cloud Website Hosting.