Changing links on different pages Changing links on different pages
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Changing links on different pages

Started by ian ditch, February 12, 2006, 01:22:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ian ditch

I want to show different links depending on which image is shown in an album

I know I can use

'if (defined('THUMBNAILS_PHP') && $_GET['album'] == XX){
SHOW LINK
}

but this will only show the link on every image within that album

I want to go into an album and then on image 1, 3 and 5 show link a

and then on image 2,4 and 6 to show link b

ian ditch

OK, after a bit of playing I have found out that if I use  if (defined('DISPLAYIMAGE_PHP') && $_GET['pos'] == 1  ){Content}
I can show my content on picture 'pos=1' but how do I show this same content on picture pos 1, 3, 5 etc?

Please help :P