NAVIGATION
This shows you the differences between two versions of the page.
|
english:navigation:little-helper:build-custom-menu [2009/10/08 13:51] Knut Heermann (flip-flop) created |
english:navigation:little-helper:build-custom-menu [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{indexmenu_n>10}} | {{indexmenu_n>10}} | ||
| - | ====== Simple "How To Build Custom Menu" ====== | + | ====== How To Build Custom Menu ====== |
| Line 8: | Line 8: | ||
| Forum: [[http://forum.phpwcms.org/viewtopic.php?p=86440#p86440]] \\ | Forum: [[http://forum.phpwcms.org/viewtopic.php?p=86440#p86440]] \\ | ||
| - | Autor: Oliver Georgi 2007/05/13 | + | Author: Oliver Georgi 2007/05/13 |
| ---- | ---- | ||
| \\ | \\ | ||
| Line 90: | Line 90: | ||
| \\ | \\ | ||
| - | Lets see: | + | **In mind:** |
| + | |||
| + | <code php> | ||
| + | // Top Navigation | ||
| + | $_mainNavi = array(0, 1, 2, 3); | ||
| + | |||
| + | // Left Navigation | ||
| + | $_leftNavi = array(4, 5, 6, 7, 8); // left navi IDs | ||
| + | </code> | ||
| + | \\ | ||
| + | **Lets see:** | ||
| <code> | <code> | ||
| [0] Home | [0] Home | ||
| Line 110: | Line 120: | ||
| \\ | \\ | ||
| - | And will render in frontend like this: | + | **And will render in frontend like this:** |
| <code> | <code> | ||
| <ul>[Home | About Us | Contact | News ]</ul> | <ul>[Home | About Us | Contact | News ]</ul> | ||