[TYPO3-english] Hiding multilanguage menu item
Constantin Iliescu
titiiliescu at yahoo.com
Mon Jan 31 08:52:59 CET 2011
Hi, list members!
I have this typoscript menu on a multilanguage site. When I set as invisible one
item on the alternative language, the same item appears, but in the default
language. I didn't find anything relevant in HMENU and TMENU TSREF to help me
with this.
Any idea how I could hide an element in the alternative language?
Thank you.
tmpl.NavService=HMENU
tmpl.NavService{
special=directory
special.value={$global.folders.nav_service_pid}
1=TMENU
1{
wrap=<ulclass="menu">|</ul>
expAll=1
noBlur=1
NO.wrapItemAndSub=<li>|</li>
ACT=1
ACT.wrapItemAndSub=<liclass="active">|</li>
}
2=TMENU
2{
wrap(
<divclass="sub">
<table>
<tr>
<tdclass="ttl"> </td>
<tdclass="ttm"> </td>
<tdclass="ttr"> </td>
</tr>
<tr>
<tdclass="tl"> </td>
<tdclass="tm">
|
</td>
<tdclass="tr"> </td>
</tr>
<tr>
<tdclass="tbl"> </td>
<tdclass="tbm"> </td>
<tdclass="tbr"> </td>
</tr>
</table>
</div>
)
expAll=1
noBlur=1
NO=1
ACT<.NO
ACT=1
IFSUB=1
IFSUB{
wrapItemAndSub=<table><tr><tdclass="tm"><div>|</div></td>|*|<tdclass="tm"><div>|</div></td>|*|<tdclass="tmlast"><div>|</div></td></tr></table>
linkWrap=<p>|</p>
doNotLinkIt=1
}
ACTIFSUB<.IFSUB
ACTIFSUB=1
}
3=TMENU
3{
expAll=1
noBlur=1
NO=1
}
Constantin Iliescu
More information about the TYPO3-english
mailing list