How to add an additional Link to a Sub-Category? How to add an additional Link to a Sub-Category?
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

How to add an additional Link to a Sub-Category?

Started by frankyknife, October 23, 2004, 06:49:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

frankyknife

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