Great site
How did you realize the left sub navi?
Greez Sven
www.kcomp.net - Meine Firma
That's a {NAV_TABLE_COLUMN:X} but the X ist the parent_id of the article.
I use this a a file "navtable.php":
The template uses this:
I use this a a file "navtable.php":
Code: Select all
<?php
$id = $GLOBALS['content']['cat_id'];
$parent_id = $GLOBALS['content']['struct'][$id]['acat_struct'];
$doc_name = html_specialchars($GLOBALS['content']['struct'][$id]['acat_name']);
$doc_parent_name = html_specialchars($GLOBALS['content']['struct'][$parent_id]['acat_name']);
if ("1" == $id) {$colnr = "1";}
if ("2" == $id) {$colnr = "2";}
if ("3" == $id) {$colnr = "3";}
//elseif ("150" == $parent_id) {$colnr = "149";}
else $colnr = $parent_id;
echo "{NAV_TABLE_COLUMN:".$colnr."}";
?>
Code: Select all
<div id="navleft">{PHP:navtable.php}</div>
pixelpublic GmbH | Agentur für Neue Medien und Gestaltung