'add to favorites' outside of pic_info 'add to favorites' outside of pic_info
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

'add to favorites' outside of pic_info

Started by JJ Photo, September 15, 2004, 02:49:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JJ Photo

I would very much like to have the 'add to favorites' button outside of the pic_info details.  I don't want to show my visitors all of the photo details that pic_info shows. ???  How can I do this?

I've tried going through all the code (I don't know PHP) and am having difficulties.  This particular function seems to be difficult to add.  It seems that it's a 'global' function called from the theme.  I added a custom global function to the displayimage.php file and am now a bit confused as to where to add it into the theme.php file.  I'm probably making this far too complicated so I'm coming here for help.  Take a look at this page:

http://jonathanjessup.com/gallery/displayimage.php?album=random&cat=0&pos=-10

I'd like the 'add to favorites' link to be below 'view basket' but still in that frame.  Any help is appreciated! ;D  Thank you very much!

JJ

Joachim Müller