[Typo3] how to wrap menu in two separate DIV's?

Bing Du du_bing at hotmail.com
Mon Jul 18 16:33:51 CEST 2005


Hi Mathias,

Mathias Schreiber [wmdb>] wrote:

> Bing wrote:
> 
>> 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>.
> 
> 
> bla.3.wrap = <div id="right">|</div>
> 
> 
I'm not sure how I should use that.  That will wrap the whole menu 
(including submenus) in <div id="right"></div>.  What I want is if there 
are 5 menu items, I want 1, 2 and 3 to be wrapped in <div 
id="left"></div> and wrap 4 and 5 in <div id="right"></div>.  Thanks for 
the help, anyway.

Bing



More information about the TYPO3-english mailing list