Member
Member
moconn   28-11-2006, 13:09
#1

Hi there,

I need to add an id to each link in Zen Photo.

For example, currently if i am here: http://www.blastbeat.org/mmcs/photos/criminalrecords/
and i click on the first album I need to go to something like:

http://www.blastbeat.org/mmcs/photos/criminalrecords/albumname/index.php@id=1

That way i can grab the ID and make sure the links in the header still work..

Any help greatly appreciated..

Developer
Developer
trisweb   29-11-2006, 07:07
#2

You'll need to update the link-creating functions, in template-functions.php. Do a search for 'printLink' to find them.

Alternatively, you could add your id to [i]every[/i] link, using the printLink function, but you'll also have to look through your theme for links that use the getXxxx() functions, and add the id manually.

Extra GET parameters (ex: albumname/index.php?id=1) will not affect zenphoto as long as they don't conflict with zenphoto's own (image, album, and page). Use them as you like!

Member
Member
moconn   23-01-2007, 13:39
#3

Great, thanks for your help :)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.