coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Gephri on February 16, 2007, 02:10:02 AM

Title: adding a category button to intermediate image page
Post by: Gephri on February 16, 2007, 02:10:02 AM
Been trying to add a category button to the intermediate image page - but can not get the link to land on the catgory for the album images being viewed.

Any idea how to code this?
Title: Re: adding a category button to intermediate image page
Post by: Joachim Müller on February 16, 2007, 03:38:29 AM
Try the variable $cat (make sure to set it global when calling from within a function). Might be an issue for meta albums tough, as they reside in no particular category.
Title: Re: adding a category button to intermediate image page
Post by: Gephri on February 16, 2007, 07:19:04 AM
Closer...but not quite.
$cat takes me to:
/index.php?cat=-36 (which has a (-) in the address and is referencing an album rather than the category).

GauGau; know you're short with instructions - but right on when you give them - if you can provide anymore direction I'll try my best to work it out over here.