[TYPO3] GEMENU hide level 1 NO
Joerg Wagner
jwagner at digilog.de
Thu Mar 23 13:46:55 CET 2006
I would think of three ways (all untested):
1. NO >
2. NO = 0
3. NO.stdWrap.if{
(condition that is always false)
}
I am sure there are many other ways.
--
Jörg Wagner
DigiLog multimedia
"Bas van der Togt" <b.vandertogt at profinit.com> schrieb im Newsbeitrag
news:mailman.1.1143116301.17313.typo3-english at lists.netfielders.de...
> How can i hide the first level menu in the NO avtivity?
> I only want to show the item in the ACT activity in level 1.
> This is my code:
>
> # Menu Left Level 1
> temp.MenuLeft = HMENU
> temp.MenuLeft.entryLevel = 0
> temp.MenuLeft.1 = GMENU
> temp.MenuLeft.1.NO {
> wrap = <table border="0" cellspacing="0" cellpadding="0"><tr
> height="0"><td>|</td></tr><tr height="0"><td bgcolor="#FFFFFF"
> height="1"></td></tr></table>
> XY = 183,0
> backColor = #B0B1B3
> 10 = TEXT
> 10.text.field = title
> 10.fontColor = #FFFFFF
> 10.fontFile = t3lib/fonts/verdana.ttf
> 10.niceText = 0
> 10.offset = 10,15
> 10.fontSize = 10
> }
>
> # Menu Left Level 1
> temp.MenuLeft.1.ACT < temp.MenuLeft.1.NO
> temp.MenuLeft.1.ACT = 1
> temp.MenuLeft.1.ACT {
> allWrap = |*| <div id="orgmenu">|</div> || <div id="prodmenu">|</div> ||
> <div id="dienstmenu">|</div> || <div id="marktmenu">|</div> || <div
> id="contmenu">|</div> |*|
> wrap = <table border="0" cellspacing="0"
> cellpadding="0"><tr><td>|</td></tr><tr><td bgcolor="#FFFFFF"
> height="1"></td></tr></table>
> XY = 183,20
> backColor = |*| #BED600 || #A2AD00 || #878800 || #5B8F22 || #7AB800 |*|
> 10 = TEXT
> 10.text.field = title
> 10.fontColor = #FFFFFF
> 10.fontFile = t3lib/fonts/verdana.ttf
> 10.niceText = 0
> 10.offset = 10,15
> 10.fontSize = 10
> }
More information about the TYPO3-english
mailing list