coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: ibd12c on March 12, 2006, 04:21:00 AM

Title: Moving Previous & Next Arrows
Post by: ibd12c on March 12, 2006, 04:21:00 AM
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???
Title: Re: Moving Previous & Next Arrows
Post by: ibd12c on March 13, 2006, 02:47:22 PM
anyone?  i still haven't figured this one out...
Title: Re: Moving Previous & Next Arrows
Post by: ibd12c on March 14, 2006, 03:15:10 PM
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?
Title: Re: Moving Previous & Next Arrows
Post by: ibd12c on March 14, 2006, 03:20:07 PM
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 (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()  ??
Title: Re: Moving Previous & Next Arrows
Post by: ibd12c on March 15, 2006, 02:26:28 PM
Please close post, I finally figured it out myself.

Thanks