![]() |
|
Add prev/next page number navigation at top - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Add prev/next page number navigation at top (/thread-2576.html) |
Add prev/next page number navigation at top - macalter - 2008-03-31 On each page of thumbnails there is <<prev 1 2 3... next>> (or whatever number applies). I'd like to also have that at the top of the pages within the #main area. I'm not certain what part of the code in index.php I need to grab and copy as it's dynamic so don't know what to look for. Underneath the Gallery | Album title is what looks like an <HR> line but haven't found such in the PHP page. That's where I want to place the paging, just above the "rule" and under the titles (but need to see what it ends up looking like!) Add prev/next page number navigation at top - acrylian - 2008-03-31 1. `<?php printPageListWithNav("« ".gettext("prev"), gettext("next")." »"); ?>` (that exists on album.php too) 2. CSS....: ` (....) ` Add prev/next page number navigation at top - macalter - 2008-03-31 Not sure I did it correct: 1. Using "index.php" from my Theme choice. 2. Viewing (refreshing each time) the Thumbnail album page (not as Admin). <div id="gallerytitle"> <?php if (getOption('Allow_search')) { printSearchForm(''); } ?> <h2><?php printHomeLink('', ' | '); echo getGalleryTitle(); ?></h2> <!-- add navigation at top of page RBC 31-Mar-2008 --> <br clear="all" /> <?php printPageListWithNav("« prev", "next »"); ?> gettext("next")." »"); ?> </div> I've not done the CSS yet (just whatever is defined for gallerytitle which should be rosy-pink) as I first want to get the placement done. Not seeing the navigation at the top of the page. |