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

Mathias Schreiber [wmdb>] mathias.schreiber at wmdb.de
Mon Jul 18 09:16:30 CEST 2005


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>


-- 
if ($GLOBALS['TSFE']->fe_user->user['ahnung'] == 0) {
	$this->fresseHalten = 1;
}



More information about the TYPO3-english mailing list