coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: modiba on April 05, 2006, 04:50:37 AM

Title: Next & Previous buttons
Post by: modiba on April 05, 2006, 04:50:37 AM
Hi,

Can someone please tell me how to change the layout so that the next and previous buttons are situated on either side of the main photo?

I would like to have the 'previous' button on the left of the image and the 'next' button to the right of the image.

Thank you,
Greg
Title: Re: Next & Previous buttons
Post by: Stramm on April 05, 2006, 09:28:07 AM
copy $template_img_navbar from theme/sample/theme.php to the theme.php you're using
Now change the html as desired
Title: Re: Next & Previous buttons
Post by: modiba on April 05, 2006, 03:02:04 PM
Thank you for getting back to me.

However when I move the next and previous buttons to be situated next to the actual image the button images do not work properly.

The ALT TAG says {NEXT_TITLE}

and the URL goes to .../gallery/{NEXT_TGT}

Any ideas why this is the case would be appreciated.

Thanks again,
Greg
Title: Re: Next & Previous buttons
Post by: Stramm on April 05, 2006, 03:17:20 PM
you need to leave the html in the var definition. Otherwise it doesn't get parsed. I think I misunderstood you, to achive what you have in mind needs further modifications... and if I'm not wrong not only in theme.php but also in functions.inc.php
Title: Re: Next & Previous buttons
Post by: modiba on April 05, 2006, 03:28:20 PM
Yes that's right - it's not being parsed when I move it out of the var defintion.

It would be be great if I could get this to work.

Does anyone know of any posts that would explain how to achieve this?

Or would someone be kind enough to talk me through the process?

Thank you,
Greg