NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:admin:site-structure:multilingual [2009/09/12 10:47] Knut Heermann (flip-flop) |
english:phpwcms-system:admin:site-structure:multilingual [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 56: | Line 56: | ||
| </file> | </file> | ||
| - | Level based: The level is relatively addressed. We need this for a right navigation. \\ | + | **Level based:** The level is relatively addressed by using a divided navigation, (e.g. horizontal and vertical). More see "Level-Lift" at the bottom. \\ |
| Every language [en] & [de] has its own category trees //(ADMIN -> site structure)//. | Every language [en] & [de] has its own category trees //(ADMIN -> site structure)//. | ||
| Line 64: | Line 64: | ||
| <note important> | <note important> | ||
| **Please create the templates first** :!: | **Please create the templates first** :!: | ||
| + | |||
| + | \\ | ||
| + | It turned out as meaningful to finish the side in one language and then copy then the complete language tree for the use of other languages. Afterwards the languagespecific category title and alias name are given to the copied categories. | ||
| </note> | </note> | ||
| Line 156: | Line 159: | ||
| (one level deep). | (one level deep). | ||
| - | E.g. the vertical sub output for an active **en_category_02** using the [[english/navigation/little-helper/level-lift|Level-Lift]]. | + | E.g. the vertical sub output for an active **en_category_02** using the [[english:navigation:little-helper:level-lift|Level-Lift]]. |
| ##[en_category_01] **[en_category_02]** [en_category_03] [en_category_04]## | ##[en_category_01] **[en_category_02]** [en_category_03] [en_category_04]## | ||
| Line 171: | Line 174: | ||
| Please copy this snippet into every language template. | Please copy this snippet into every language template. | ||
| You can lift an ID based navigation to an level based navigation. \\ | You can lift an ID based navigation to an level based navigation. \\ | ||
| - | I called it [[english/navigation/little-helper/level-lift|Level-Lift]]. (Have a look too - [[english/navigation/nav_list_ul|NAV_LIST_UL (CSS)]] at the end. | + | I called it [[english:navigation:little-helper:level-lift|Level-Lift]]. (Have a look too - [[english:navigation:nav_list_ul|NAV_LIST_UL (CSS)]] at the end. |
| Line 208: | Line 211: | ||
| <code>$phpwcms['site'] = 'http://'.$_SERVER['SERVER_NAME'].'/';</code> \\ | <code>$phpwcms['site'] = 'http://'.$_SERVER['SERVER_NAME'].'/';</code> \\ | ||
| **$_SERVER['SERVER_NAME']** should always contain the current called Domain. | **$_SERVER['SERVER_NAME']** should always contain the current called Domain. | ||
| - | |||
| - | With LEVEL_ID[**1**] you always know the starting level ID for the menus. | ||
| </note> | </note> | ||
| Line 219: | Line 220: | ||
| \\ | \\ | ||
| + | |||
| + | **Your Domains- and starting alias names you must be registered in the script.** \\ | ||
| //(A short version of this script you will find in: /template/inc_Script/frontend_init/disabled/domaincheck.php).// | //(A short version of this script you will find in: /template/inc_Script/frontend_init/disabled/domaincheck.php).// | ||
| <code php|h rt_domainswitch.php |h> | <code php|h rt_domainswitch.php |h> | ||