[Typo3] Wrap submenu in different div
a.lim
funkycms at axidea.fr
Tue Aug 9 09:56:14 CEST 2005
Hi!
Thanks for your response Andreas.
But I've used Typo3 only for a month now so I'm a newbee and dont really
know how to use it. Could you explain me?
This is my what I've done:
lib.rightmenu = HMENU
lib.rightmenu.1 = TMENU
lib.rightmenu.1 {
NO.doNotShowLink = 1
begin = 5
maxItems = 1
expAll = 1
}
lib.rightmenu.2 = TMENU
lib.rightmenu.2 {
NO.allWrap = <div id="right_menu"> | </div>
NO.stdWrap.htmlSpecialChars = 1
ACT = 1
ACT.stdWrap.htmlSpecialChars = 1
ACT.allWrap = <div id="right_menu"> | </div>
}
I want to use the register:count_HMENU_MENUOBJ in my lib.rightmenu.2
Thanks in advance,
Adam LIM
-----Message d'origine-----
De : typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] De la part de andreas
steinhuber
Envoyé : lundi 8 août 2005 19:10
À : typo3-english at lists.netfielders.de
Objet : Re: [Typo3] Wrap submenu in different div
Hi a.lim
hi!
you can use the register:count_HMENU_MENUOBJ
e.c.
[...]
temp.submenu.1 = TMENU
temp.submenu.1.NO {
allWrap = <div id="subpage{register:count_HMENU_MENUOBJ}"|</div>
[...]
- andreas steinhuber (kommanderprix)
-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/threa
d/110133667/
> Hi y'all !!!
>
> I wanna know if it was possible to wrap each element of a submenu in
> different <div>.
>
>
>
> This is my page tree:
>
> ..
>
> Page5
>
> Subpage51
>
> Subpage52
>
> Subpage53
>
> Subpage54
>
> Subpage55
>
> Subpage56
>
> ..
>
>
>
> And this is what my html file looks like:
>
> <html>
>
>
>
> .
>
>
>
> <div id="right_menu">
>
> <div id="subpage51"><img src .><a href=".> Subpage51</a></div>
>
> <div id="subpage52"><img src .><a href=".> Subpage52</a></div>
>
> ...
>
> ...
>
> <div id="subpage56"><img src .><a href=".> Subpage56</a></div>
>
> </div>
>
>
>
> .
>
>
>
> </html>
>
>
>
> Has someone already done this? This could be helpful. Thanks in advance.
>
>
>
> Adam LIM,
>
>
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list