Moving Previous & Next Arrows Moving Previous & Next Arrows
 

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]

Main Menu

Moving Previous & Next Arrows

Started by ibd12c, March 12, 2006, 04:21:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ibd12c

In my theme.php, I have moved the Prev & Next arrows from the image nav bar ($template_img_navbar), and now have them one on each side of my intermediate image ($template_display_media). 

However, the paramaters no longer work:  ie...
<a href="{PREV_TGT}" class="navmenu_pic" title="{PREV_TITLE}"><img src="{LOCATION}images/prev.gif"  border="0px" align="middle" alt="{PREV_TITLE}" /></a>

I know that the code to assign these parametes is under function theme_html_img_nav_menu() in theme.php, but I just can't figure out where i need to copy it in order for the $template_display_media to pick it up. 

I've tried for days to figure this one out with no luck.  Could someone point me in the right direction???

ibd12c

anyone?  i still haven't figured this one out...

ibd12c

ok, I just tried this:

copied "function theme_display_image" from sample to my theme.php, and was going to attempt to add params and a template_eval of some sort under this function to define the arrows under theme_display_image. 

however, when i copy this function straight from my sample theme.php into my new theme.php, it causes the site to stop working, only coming up with a blank white page (even on index.php).

what am I doing wrong now?

ibd12c

i think PAVER's solution in this thread is exactly what i need (just under different function): 

http://forum.coppermine-gallery.net/index.php?topic=29122.0

can someone help me parse the variables i need in my function theme_display_image instead of where they are parsed now, function theme_html_img_nav_menu()  ??

ibd12c

Please close post, I finally figured it out myself.

Thanks