Template-based pagination

Discussion corner for Developers of Serendipity.
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

Thanks to my limited entry sandbox, I realized pagination should only be displayed if there is actually more than a single page... committed this change to BP:

Code: Select all

{if $template_option.show_pagination == 'true' && $footer_totalPages > 1}
=Don=
validus84
Posts: 2
Joined: Tue Sep 22, 2009 9:33 pm

Re: Template-based pagination

Post by validus84 »

Where exactly is this code suppose to go?
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Template-based pagination

Post by Don Chambers »

validus84 wrote:Where exactly is this code suppose to go?
In the smarty template file entries.tpl. You can see an example of it in the template bulletproof.
=Don=
Post Reply