I need help creating a menu with typo 3.
TopNavigation = HMENU TopNavigation {Special = directory = special.value = 3 entryLevel = 1 1 = TMENU 1.expAll = 1 1.NO = 1 1: Currently I like TS in my menu Construction of .NO.wrapItemAndSub = & lt; Li class = "parent" & gt; | & Lt; / Li & gt; 2 & lt; .1 2. Exal = 0 2.NO = 1 2.NO.ATagBeforeWrap = 1 2.NO.wrapItemAndSub = & lt; Li & gt; | & Lt; / Li & gt; 2.wrap = & lt; Ul class = "dropdown" & gt; | & Lt; / Ul & gt; }
But in this way, Typo 3 has used the Page Tree to create navigation. Now I want to add anchor to my navigation from the page. TS which I found it to look like this:
AnchorNavigation = content AnchorNavigation {table = tt_content pidInList = this orderBy selection {= sorting where = colPos = 0 and sectionIndex = 1 languageField = Sys_language_uid} rap = & lt; Ul & gt; | & Lt; / Ul & gt; RenderObj = text renderObj {area = header dataWrap = & lt; Li & gt; & Lt; A href = "# c {region: uid}" & gt; | & Lt; / A & gt; & Lt; / Li & gt;
This work is fine, but how do I add both of my people?
Finally, I have to do something like this:
Parent Page 1 Parent Page 2 - & gt; Anchor 1 - & gt; Anchor 2 - & gt; Anchor 3 - & gt; Child Page 1 Parent Page 3 - & gt; Anchor 1 - & gt; Anchor 2 - & gt; Anchor 3 Parents Page 4
I hope someone can help me.
Take a look at TSref for TMENU items:
A property is called After that any TS can be used to insert the object right after the current menu item and subpage rendering of the current "menu item".
This solution is a bit hit (in relation to the wrap), but you will get this idea; -)
page.5 = HMENU page.5 {special = directory specific.value = 3 entry level = 1 1 = TMEU 1.opop = & lt; Ul & gt; | & Lt; / Ul & gt; 1.expAll = 1 1.NO = 1 1.NO.wrapItemAndSub.cObject = Text 1.NO.wrapItemAndSub.cObject.value = & lt; Li class = "parent" & gt; | & Lt; / Ul & gt; & Lt; / Li & gt; 1.NO.after.cObject = COA 1.NO.after.cObject {# Wrap all section links and subpage links # Hint: & lt; / Ul & gt; 1.NO.wrapItemAndSub 10 = Text is done by 10.value = & lt; Ul class = "dropdown" & gt; 20 = content 20 {table = tt_content selection {pidInList.field = uid orderBy = sorting where = colPos = 0 and sectionIndex = 1 languageField = sys_language_uid} renderObj = text renderObj {field = header = typolink.parameter.field = pid typolink Section Field = UID datatap = & lt; Li class = "section-link" & gt; | & Lt; / Li & gt; }}} 2 & lt; .1. Press & gt; 2. XPLA = 0 2.NO = 1 2.NO.ATagBeforeWrap = 1 2.NO.wrapItemAndSub & gt; 2.NO.wrapItemAndSub = & lt; Li class = "subpage-link" & gt; | & Lt; / Li & gt; 2.NO.after & gt; }
No comments:
Post a Comment