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: moving intermediate image nav buttons into sys menu  (Read 3611 times)

0 Members and 1 Guest are viewing this topic.

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
moving intermediate image nav buttons into sys menu
« on: December 30, 2006, 09:11:19 am »

Is it difficult to move the image navigation into the sys menu?  I managed to move the links so they appear where i want them.. however they dont work.  SO far I just copied this code from the //HTML temlplate for the image navigation bar and moved into the //HTML template for sys menu

Code: [Select]
<tr>
              <td align="center" valign="middle" class="navmenu" width="48">
                        <a href="{THUMB_TGT}" class="navmenu_pic" title="{THUMB_TITLE}"><img src="../thumbnails.gif" align="middle" border="0" alt="{THUMB_TITLE}" /></a>
                </td>
    <td align="center" valign="middle" class="navmenu" width="28">
                        <a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="../nav_left.gif"  border="0" align="middle" alt="{PREV_TITLE}" /></a>
                </td>
 
  <td align="center" valign="middle" class="navmenu" width="28">
                       <a href="{NEXT_TGT}" class="navmenu_pic" title="{NEXT_TITLE}"><img src="../nav_right.gif"  border="0" align="middle" alt="{NEXT_TITLE}" /></a>
</td>

what do I have to do so they actually work?  Right now clicking them leads to a 404 where it is actually looking for the URL /gallery/{PREV_TGT} .

Does it have something to do with $template_img_navbar ?   
               
Logged

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: moving intermediate image nav buttons into sys menu
« Reply #1 on: December 30, 2006, 09:32:56 am »

ERm..  ??? I guess this doesnt really make sense as the nav buttons are only for when the intermediate image is displayed.  I have to leave them where they are or else try moving them with CSS.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.