News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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