coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: frankyknife on October 23, 2004, 06:49:36 AM

Title: How to add an additional Link to a Sub-Category?
Post by: frankyknife on October 23, 2004, 06:49:36 AM
Hi!
i just want to add on the index.php frontpage an additional but seperated text link (i.e. "CLICK HERE FOR GALLERY") towards sub-categories.

unfortunately there exist only follwing terms within theme.php:
{CAT_THUMB}
{CAT_TITLE}
{CAT_DESC}

what i need is something like {CAT_LINK_TGT} as it is used for albums {ALB_LINK_TGT}, too.  ???


if i add now this code '{CAT_LINK_TGT}' => "index.php?cat={$subcat['cid']}", to the function theme_display_cat_list of theme.php i only get this link as a result: http://www.mydomain.com/gallery/index.php?cat=

-> as you can see, the category ID number - the CID - is missing!


??? what do i wrong / is missing in the code / wrong .php file / false solution ? ::)


thx for ya help!
franky