NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms_replacer_rts:frontend_render:navi-row-replacement [2011/10/01 11:59] Knut Heermann (flip-flop) |
english:phpwcms_replacer_rts:frontend_render:navi-row-replacement [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| **Certain lines of a navigation replaced by another content.** | **Certain lines of a navigation replaced by another content.** | ||
| - | FIXME translate | + | FIXME better translate |
| With this RT you are able to replace identified rows in a navigation (NAV_LIST_UL) with specified content from the script. The cement lines or categories are determined by an entry in the field CLASS-defined in category. | With this RT you are able to replace identified rows in a navigation (NAV_LIST_UL) with specified content from the script. The cement lines or categories are determined by an entry in the field CLASS-defined in category. | ||
| Line 70: | Line 70: | ||
| - | In **%%Site structure -> category%%** in the field **CSS Klasse:** den Namen der Klasse eintragen, in diesem Beispiel: "separator". \\ | + | Insert in **%%Site structure -> category%%** in the field **CSS class:** the name of the class, in this example: "separator". \\ |
| - | //(Der Text in "Seitenebenen Überschrift" ist frei wählbar und dient lediglich der besseren Übersicht unter ADMIN. Der "Alias der Seitenebene" hat ebenfalls keine Relevanz, darf aber systemweit nicht doppelt vergeben werden.)// \\ | + | //(The text in the "category title" is arbitrary and is merely for a better overview on the point ADMIN. The entry in "alias tihs category" also has no relevance, but may not be duplicated throughout the system.)// \\ |
| - | {{:deutsch:ersetzer_rts:frontend_render:navi_trenner-kategorie12_1.gif|}} | + | {{:english:phpwcms_replacer_rts:frontend_render:navi_trenner-category12.gif|}} |
| - | Im Script unter %%--- CUSTOM ---%% die selbe Klasse eintragen, hier | + | In Sript under %%--- CUSTOM ---%% enter the same class, in this case |
| <code php>$class = 'separator';</code> | <code php>$class = 'separator';</code> | ||
| \\ | \\ | ||
| - | Im Script unter %%--- CUSTOM ---%% die ersetzende Syntax eintragen, hier z.B.: | + | In Script under %%--- CUSTOM ---%% enter the replacing syntax, in this case e.g.: |
| <code php>$replacer = '<div style="width:80px;display:block;border:1px solid gray;color:gray">Tzzz Tzzz</div>';</code> | <code php>$replacer = '<div style="width:80px;display:block;border:1px solid gray;color:gray">Tzzz Tzzz</div>';</code> | ||
| Line 84: | Line 84: | ||
| <note> | <note> | ||
| - | Alles zwischen **%%<li class=".....$class">%%** und dem nächsten **%%</ li>%%** wird ersetzt durch die Zeichenfolge aus %%$replacer%%. | + | Everything between **%%<li class=".....$class">%%** and the next **%%</ li>%%** will be replaced by the string from the var %%$replacer%%. |
| </note> | </note> | ||