4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: dmitrijjuy on April 07, 2012, 01:47:02 PM

Title: Show number of current page
Post by: dmitrijjuy on April 07, 2012, 01:47:02 PM
Hello! How to show number of current page in category and subcategory page (categories.html)?
For example, in category 7 pages with 15 photos ...
I want to show to the visitor:
"Current Page: 2" (or 1, 2, 3, 4, etc.)
Title: Re: Show number of current page
Post by: Rembrandt on April 07, 2012, 05:49:53 PM
Hi!

search in categories.php:

"paging" => $getpaging->get_paging(),

insert above:

"page" => $page,


search in your Templates/categories.html
Code: [Select]
{endif categories}
insert below, or where ever you want:
Code: [Select]
Current Page: {page}

mfg Andi
Title: Re: Show number of current page
Post by: dmitrijjuy on April 07, 2012, 06:21:59 PM
Thank you, this is what I needed!