Page 1 of 1

{PAGETITLE}

Posted: Wed 25. Aug 2004, 13:32
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

Posted: Wed 25. Aug 2004, 13:49
by DeXXus

Posted: Wed 25. Aug 2004, 15:04
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