[Typo3] TMENU question
Joseph Mesterhazy
jmesterh at iastate.edu
Sat Jul 30 22:34:11 CEST 2005
On Jul 30, 2005, at 1:58 PM, JoH wrote:
>> Unfortunately the area I want the page uid entered is in the
>> wrapItemAndSub property, and this does not appear to support any
>> substitution:
>>
>> temp.nav = HMENU
>> temp.nav {
>> 1 = TMENU
>> 1 {
>> expAll = 1
>> NO = 1
>> NO {
>> allWrap = <ul><li>|</li></ul>
>> }
>> IFSUB = 1
>> IFSUB {
>> subst_elementUid = 1
>> # the following doesn't get {elementUid} parsed to the
>> uid.. its just in the HTML as element{elementUid}
>> wrapItemAndSub = <ul id="element{elementUid}"><li>|</
>> li></ul>
>> }
>> }
>> 2 < .1
>> 3 < .1
>> }
>>
>> Is there any other way I can tag that <ul> in the wrapItemAndSub with
>> the page uid?
>>
>
> Try this one:
>
> temp.nav = HMENU
> temp.nav {
> wrap = <ul>|</ul>
> 1 = TMENU
> 1 {
> expAll = 1
> NO = 1
> NO {
> allWrap = <li>|</li>
> }
> IFSUB = 1
> IFSUB {
> subst_elementUid = 1
> allWrap = <ul id="element{elementUid}"><li>|
> wrapItemAndSub = |</ li></ul>
> }
> }
> 2 < .1
> 3 < .1
> }
Of course, that makes perfect sense, and worked perfectly.
Thanks!
Joe
--
Joe Mesterhazy
ECpE UNIX Administrator
2101 Coover Hall, Iowa State University
Ames, IA 50011. (515) 294-7359
http://www.mesterhazy.net
More information about the TYPO3-english
mailing list