coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: yaniv on September 06, 2006, 02:24:45 AM

Title: nav menu... stupid question
Post by: yaniv on September 06, 2006, 02:24:45 AM
Hey,

I got my gallery to work perfectly, I got the perfect theme that I wanted and everything is great, the problem is I always
manage to do the hard stuff and not the easy stuff.... this may sound like a stupid question but here it is anyway...

lets say you have 300 pictures in an album, if you have the thumbnails open, at the bottom it will say like 1,2,3,4...
the page numbers... I know how to change the colour etc etc, but I was wondering, is it possible to make it say
PAGE 1 Page 2 Page 3.. etc etc because you do get some 'slow' people out there...

Thank's in advance!
Title: Re: nav menu... stupid question
Post by: Sami on September 06, 2006, 07:09:32 AM
open up themes/your theme/theme.php and copy these lines befor ?> tag

$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
    'tab_header' => '',
    'tab_trailer' => '',
    'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>Page %d</b></td>',
    'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>Page %d</b></a></td>' . "\n",
    'inactive_prev_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{PREV}</b></a></td>' . "\n",
    'inactive_next_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{NEXT}</b></a></td>' . "\n",
);
Title: Re: nav menu... stupid question
Post by: yaniv on September 06, 2006, 08:12:11 PM
Tried what you said, works perfectly!!!

Thank you so much!

Well done to you and the rest of the team for an amazing job!