Dynamische CSS definierte Header!?
Re: Dynamische CSS definierte Header!?
ja, sorry das ist so schon richtig. Deine Bilder halt im Format (Seitenebene Überschrift)_back.jpg anlegen.
...
-
planetsuhl
- Posts: 51
- Joined: Mon 19. May 2008, 14:23
Re: Dynamische CSS definierte Header!?
Jawohl! Oder einfachCipolla wrote:ja, sorry das ist so schon richtig. Deine Bilder halt im Format (Seitenebene Überschrift)_back.jpg anlegen.
"acat_name" in "acat_pagetitle" ändern! Funzt! Danke!
Code: Select all
<?php
// ----------------------------------------------------------------
// obligate check for phpwcms constants
if (!defined('PHPWCMS_ROOT')) {
die("You Cannot Access This Script Directly, Have a Nice Day.");
}
// ----------------------------------------------------------------
// PAGETITLE replacement
if( ! (strpos($content["all"],'{PAGETITLE}')===false)) {
$content["all"] = str_replace('{PAGETITLE}', $content["struct"][$content["cat_id"]]
["acat_pagetitle"], $content["all"]);
} ?>