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.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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