[Typo3] how to wrap menu in two separate DIV's?
Bing
du_bing at hotmail.com
Sun Jul 17 18:51:21 CEST 2005
Hi,
Page tree:
========
page1
subpage11
subpage12
page2
subpage21
page3
subpage31
=========
Goal HTML:
=======
<div id="left">
<dl>
<dt>page1</dt>
<dd>subpage11</dd>
<dd>subpage12</dd>
</dl>
<dl>
<dt>page2</dt>
<dd>subpage21</dd>
</dl>
</div>
<div id="right">
<dl>
<dt>page3</dt>
<dd>subpage31</dd>
</dl>
</div>
==========
This TS can get pages and their subpages wrapped in
<dl><dt></dt><dd></dd></dl> fine. I just don't know how to get the whole
menu and their submenu wrapped in two seperate div's, that is <div
id="right"></div> and <div id="right"></div>.
==================
temp.testmenu = HMENU
temp.testmenu.entryLevel = 0
temp.testmenu.1 = TMENU
temp.testmenu.1 {
expAll = 1
NO {
doNotLinkIt = 1
beforeWrap = |*|<dl><dt>||<dl><dt>|*|
stdWrap.field = title
stdWrap.wrap = |*| | || | |*|
afterWrap = |*|</dt>||</dt> |*|
wrapItemAndSub =|*| |</dl>|| |</dl>|*|
}
}
temp.testmenu.2 = TMENU
temp.testmenu.2 {
NO {
allWrap = <dd>|</dd>
}
}
===============
Anybody have done anything like this?
I'd appreciate any suggestions.
Bing
More information about the TYPO3-english
mailing list