I want to wrap some wrapped li Elements in Typo3 with TS for the NO-State, not for ACT. I have try some differents ways, but nothing is functional.
For example, i want the following HTML-Code
<div class="flyoutMetaLanguageSelection" id="metaLanguage">
<h3>Austria</h3>
<ul style="display:none;" class="metaNavList">
<li><a href="#">German</a></li>
<li><a href="#">Spain</a></li>
<li><a href="#">USA</a></li>
</ul>
</div>
This is the Typo3 BE Structure for this points:
[metalanguages]-level 1
|- German
|- Spain
|- Austria
|- USA
The active Point, will wrap with a element and set to the top of all other elements.
And this is my TypoScript
lib.MetaNavigationCountrySelectFields = HMENU
lib.MetaNavigationCountrySelectFields{
special = directory
special.value = 1
1 = TMENU
1{
noBlur = 1
expAll = 1
NO{
wrapItemAndSub = <li>|</li>
wrapItemAndSub.insertData = 1
#allWrap = <ul class="metaNavList" style="display:none;">|</ul>
allStdWrap.insertData = 1
}
#NO.stdWrap.outerWrap.override = <ul>|</ul>
#NO.wrapItem = <ul class="metaNavList" style="display:block;">|</ul>
ACT <. NO
ACT = 1
ACT{
wrapItemAndSub = <h3>|</h3>
wrapItemAndSub.insertData = 1
doNotLinkIt = 1
}
RO <. ACT
}
}
I hope everyone can help me....and sorry for my "bad english" ;)