Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-02-19 06:19:04

Jeff
Member
Registered: 2012-02-14
Posts: 39

How to display more pages?

How do I display more pages in the video category instead of only 3 pages at a time.
And maybe add displaying pages on the top would be nice too. smile

Offline

#2 2012-02-19 08:04:58

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How to display more pages?

You need to edit templates/your-template/video_category.tpl.php and replace:

<div class="pagination"><ul><?php echo p('pagination', $this->pagination, build_url($this->order, $this->timeline, $this->slug, true)); ?></ul></div>

with:

<div class="pagination"><ul><?php echo p('pagination', $this->pagination, build_url($this->order, $this->timeline, $this->slug, true), 10); ?></ul></div>

10 is the number of pages that will be displayed in the pagination.

If you want to add the pages on top of the page add the above line to just after:

<div class="info">
*
</div>

Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2012-02-19 09:05:33

Jeff
Member
Registered: 2012-02-14
Posts: 39

Re: How to display more pages?

I changed the code, but still the same, page displaying 1-3.

Offline

#4 2012-02-19 17:04:36

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: How to display more pages?

Hmmm...there is no category on your site that has more than 3 pages. You also need to edit templates/your-template/video_browse.tpl.php if you want this to be enabled for the default video browse page (not per category only).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2012-02-20 03:34:06

Jeff
Member
Registered: 2012-02-14
Posts: 39

Re: How to display more pages?

It's working now.  Thank you smile

Offline

Board footer

Powered by FluxBB