hi,
i need some different NAV_ROW menus...
the main menu has a 90px spacer between elements
the other menus shall get the usual ' | '
how can i do that? since this formatting is in conf.template_default.inc.php?
Cheers
SNap
multiple NAV_ROW formats
multiple NAV_ROW formats
'welcome to the real world!' datensysteme-lenk
i tried in front.func.inc.php:
ID 8 would be my main nav, but it always goes to the else.... what am i doing wrong?
Code: Select all
if($nav) {
if ($GLOBALS['content']["cat_id"] == 8) {
$nav .= $GLOBALS['template_default']["nav_row"]["between"];
}
else {
$nav .= ', ';
}
}
'welcome to the real world!' datensysteme-lenk
Hi SNap,
why you don´t use the RTs written by usta or jon rain? Full CSS-based.
http://www.phpwcms.de/forum/viewtopic.p ... avsetlevel
http://www.phpwcms.de/forum/viewtopic.php?t=9317
Play around with the classes.
Gruß Knut
why you don´t use the RTs written by usta or jon rain? Full CSS-based.
http://www.phpwcms.de/forum/viewtopic.p ... avsetlevel
http://www.phpwcms.de/forum/viewtopic.php?t=9317
Play around with the classes.
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
much too complicated for me... and i don't see the improvement for my problem
'welcome to the real world!' datensysteme-lenk
Hello,
If you realy have the Id 8, it should work.
Try this code in Main it will show you the ID.
Second : use intval like the code above!
If you realy have the Id 8, it should work.
Try this code in Main it will show you the ID.
Code: Select all
[PHP]
$a=intval($GLOBALS['content']["cat_id"]);
print_r("ID: $a");
[/PHP]
ok with intval it works..... almost
i guess cat_id is not the right thing to query... on the pages without these submenues ', ' it works.... but on a page with the submenus it also changes the main-menu
i guess cat_id is not the right thing to query... on the pages without these submenues ', ' it works.... but on a page with the submenus it also changes the main-menu
'welcome to the real world!' datensysteme-lenk