Hi velo,
you don´t need any script to realize this if you didn´t want to have a direct switch between corresponding sides. I haven´t seen a user switching between multiple languages at the same article. For me it´s a little programmer gimick. -And you can´t generate a different site structure for the other language.
If you haven´t equal named links (e.g. en=marketing de=marketing) you don´t need a prefix or suffix like en_ en- de_ de-.
As a basic principle I prefer this:
-------------------------------------
- home [hidden]
-- DE [hidden if you want]
---- Start [if you want it]
---- Punkt 1
---- Punkt 2
------ Unterpunkt 2_1
------ Unterpunkt 2_2
---- Punkt 3
---- Kontakt
---- Impressum
---- Sitemap-de [hidden]
---- Suchen [hidden]
-- EN [hidden if you want]
---- Home [if you want it]
---- Itrm 1
---- Item 2
------ Subitem 2_1
------ Subitem 2_2
------ Subitem 2_3
---- Item 3
------ Subitem 3_1
---- Contact
---- Imprint
---- Sitemap-en [hidden]
---- SeaRch [hidden]
-------------------------------------
Horizontal Navigation:
----------------------
NAV_LISTSETLEVEL
NAV_LIST_FROM
NAV_STRUCT
Verical Navigation:
----------------------
NAV_LIST_ALL
NAV_STRUCT
[EDIT]
Since V1.2.8 please use the NAV_LIST_UL for the horizontal and vertical navigation.
The "level lift" for the navigation:
Code: Select all
[PHP]
if(isset($GLOBALS['LEVEL_ID'][1])) {
$level_id = $GLOBALS['LEVEL_ID'][1];
echo '<div class="nlu_navi1">'.LF;
echo '{NAV_LIST_UL:F,'.$level_id.',,,active,,,}';
echo '</div>';
}
[/PHP]
Where LEVEL_ID'][
X] is the level.
[/EDIT]
----------
Knut