{NAV_TABLE_COLUMN:X}
{NAV_TABLE_COLUMN:X}
HI!
I would like to create a menu, on the left side, that depends by the menu on the top.
For example you can see the site http://www.kafkaesk.de/kafka.shtml
I created a new template and I set the {NAV_TABLE_COLUMN:1}, while my standard template has just {NAV_TABLE_COLUMN}.
Unfortunately in my site (with standard template) I can see all the sections on the left menu (but some of them are associated with my new template!). Then, when I go in my new template I can’t see the menu {NAV_TABLE_COLUMN:1} because it’s completely blank!
In general, if I put a number in those replacement tags {NAV_TABLE_COLUMN:X} or {NAV_ROW:X} they don’t work! In the first case it is completely blank and in the second the system creates just the text string “{NAV_ROW:1}”.
Please, could you help me? Thanks!
I would like to create a menu, on the left side, that depends by the menu on the top.
For example you can see the site http://www.kafkaesk.de/kafka.shtml
I created a new template and I set the {NAV_TABLE_COLUMN:1}, while my standard template has just {NAV_TABLE_COLUMN}.
Unfortunately in my site (with standard template) I can see all the sections on the left menu (but some of them are associated with my new template!). Then, when I go in my new template I can’t see the menu {NAV_TABLE_COLUMN:1} because it’s completely blank!
In general, if I put a number in those replacement tags {NAV_TABLE_COLUMN:X} or {NAV_ROW:X} they don’t work! In the first case it is completely blank and in the second the system creates just the text string “{NAV_ROW:1}”.
Please, could you help me? Thanks!
Re: {NAV_TABLE_COLUMN:X}
Ok. I installed another phpWcms and the problem is cancelled. I don't know why I had that problem, maybe too much experiments - but not so much experience - with php code!!
Any other idea?
Cheers,
sbira
Any other idea?
Cheers,
sbira
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
OK here is a sample to check against what level you are:
....
}
} else {
//default
}
It's used here:
http://www.blockierter-wandel.de
This peace of code is ideal for static RollOver (images) menus.
Oliver
Code: Select all
$GLOBALS['nav_point_listing'] = get_breadcrumb($GLOBALS['content']["cat_id"], $GLOBALS['content']['struct']);
// check parent's top level depth - kind like breadcrumb
if(isset($GLOBALS['nav_point_listing']) && count($GLOBALS['nav_point_listing']) > 1) {
reset($GLOBALS['nav_point_listing']);
next($GLOBALS['nav_point_listing']);
$GLOBALS['nav_point_topid'] = intval(key($GLOBALS['nav_point_listing']));
switch($GLOBALS['nav_point_topid']) {
case 0: ...; break;
case 1: ...; break;
}
} else {
//default
}
It's used here:
http://www.blockierter-wandel.de
This peace of code is ideal for static RollOver (images) menus.
Oliver
-
- Posts: 14
- Joined: Fri 6. Aug 2004, 16:13
- Location: Brussels
Oliver,
Can you please tell me where I need to put the above mentioned code?
Also Can you let me have the page layout settings for the website http://www.blitzblau.de/blockierter-wandel/index.php??
Thanks for your help
Can you please tell me where I need to put the above mentioned code?
Also Can you let me have the page layout settings for the website http://www.blitzblau.de/blockierter-wandel/index.php??
Thanks for your help
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
-
- Posts: 14
- Joined: Fri 6. Aug 2004, 16:13
- Location: Brussels
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
-
- Posts: 14
- Joined: Fri 6. Aug 2004, 16:13
- Location: Brussels