Next & Previous buttons Next & Previous buttons
 

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

Next & Previous buttons

Started by modiba, April 05, 2006, 04:50:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

modiba

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

Stramm

copy $template_img_navbar from theme/sample/theme.php to the theme.php you're using
Now change the html as desired

modiba

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

Stramm

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

modiba

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