Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: nav menu... stupid question  (Read 2735 times)

0 Members and 1 Guest are viewing this topic.

yaniv

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
nav menu... stupid question
« 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!
« Last Edit: September 06, 2006, 08:15:36 pm by Nibbler »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: nav menu... stupid question
« Reply #1 on: September 06, 2006, 07:09:32 am »

open up themes/your theme/theme.php and copy these lines befor ?> tag
Code: [Select]
$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",
);
Logged
‍I don't answer to PM with support question
Please post your issue to related board

yaniv

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
Re: nav menu... stupid question
« Reply #2 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!
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.