add "pages:" infront of the page number

bpd@darb.net

Joined: 2002-08-20
Posts: 101
Posted: Sun, 2002-10-20 10:30

hiya

i have had a squizz and cant work out how I can change that ... instead of it just showing "1 2 3 4"for the page number, id like to put some text there as a pretext

any ideas?

Cheers

Brad

(http://gallery.darb.net/)

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Sun, 2002-10-20 19:33

Code for these numbers is located in:
/gallery/layout/navigator.inc

In v.1.3.1 (latest full release), look starting at Line 72:
#-- 'page numbers' cell ---

That's where the "1 2 3 4" numbers are generated.
Put your text in the $number string, but you'll have to do it a couple of times, for each of the cases inside that for() loop.

-Beckett (beck@beckettmw.com)

Actually, this was already in the User Guide:
<!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpWiki&amp;file=index&amp;pagename=Altering%20the%20upper%20middle%20nav%20bar%28the%20123%20page%20counter%29" TARGET="_blank">User Guide > Advanced Administration > Customizing</A><!-- BBCode End -->