{PAGETITLE}

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
cwenet
Posts: 159
Joined: Sat 24. Jul 2004, 10:21
Location: Lake Of Constance, Germany

{PAGETITLE}

Post by cwenet »

How can I get the acat_name of the actual article.

I have used the code {PAGETITEL}

// PAGETITLE replacement
$content["all"] = str_replace('{PAGETITLE}',
html_specialchars($content["acat_struct"][$content["acat_id"]]["acat_name"]),
$content["all"]);

No result. Do someone have an idea?

Christoph
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

cwenet
Posts: 159
Joined: Sat 24. Jul 2004, 10:21
Location: Lake Of Constance, Germany

Post by cwenet »

Ok. Thanks.
But it shows not the top article name. Please look here.

http://www.lts-online.de/newsflash2/index.php?hit_cri

I want "Wandleuchten"

I have put this
{PHPVAR:$GLOBALS['content']['struct'][$GLOBALS['content']['cat_id']]['acat_name']}

in the backend into the input box of the subtitle and I can see "hit-cri" = one level above.

Christoph
Post Reply