Webmastersite.net
Register Log In

Sub Cats - Multipage

Comments on Sub Cats - Multipage

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 21, 2005 - 7:12 AM:

I have one category that only consists of sub-cats. As there are around 200 sub-cats it was taking to long to load the page (up to 39 seconds) so I restricted the number of cats per page to 30. www.thedogscene.co.uk/links...ion=displaycat&catid=1

It wasn't showing next and previous page links so I placed <IF {SUBMULTIPAGE}><br>Page: {SUBPREVIOUS} <b>{SUBCURRENTPAGE}</b> {SUBNEXT}</IF>

between <!-- END SUBCATEGORIES --> and </table> as Paul had advised somebody else. Still didn't work.

What is showing is "Page: 1 234567" at the top of the sub cats. That would be good if it were at the bottom and had spaces in between page numbers. How do I do that?

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 21, 2005 - 9:16 PM:

The pagination template and associated style items control the little boxes around the page numbers.

between <!-- END SUBCATEGORIES --> and </table>

Put it outside of </table>.
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 21, 2005 - 9:31 PM:

Sorry Paul - moving it hasn't made any difference sad

www.thedogscene.co.uk/links...ion=displaycat&catid=1
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 24, 2005 - 7:14 AM:

The pagination is now in the correct place and seems to be working ok since I redid the db.

However, please tell me how I can get each page number within its own border as per this forum. I currently have the following, but it places all previous in one border and all next in another.

<IF {SUBMULTIPAGE}> <br>
Page: <span class="page">{SUBPREVIOUS}</span> <b>{SUBCURRENTPAGE}</b> <span class="page">{SUBNEXT}</span>
</IF>
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Nov 25, 2005 - 8:45 PM:

It's not obeying the pagination template I see. Will be fixed in the next upload (sometime in the next few days).
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Nov 25, 2005 - 9:15 PM:

Thanks Paul - thought it was me being dim againg <G>
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Dec 03, 2005 - 11:32 PM:

Hi Paul

Just wondered if you'd forgotten about this as it hasn't appeared in the latest update

Cheers
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Dec 05, 2005 - 4:09 PM:

It is in 3.3.2. The code is in the default template and is obeying my pagination template.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.