[TYPO3] Menu - multiline menu item

Бойчук Петро petro.boychuk at gmail.com
Wed Jul 4 15:39:20 CEST 2007


Let me clarify something:

you want to create menu smth like this:

<table>
<tr>
<td> ITEM1 </td> <td> ITEM2 </td> <td> ITEM3 </td>
</tr>
<tr>
<td BACKGROUND1 >&nbsp;</td><td BACKGROUND2 >&nbsp;</td><td BACKGROUND3
>&nbsp;</td>
</tr>
<tr>
<td OTHER_BG1 >&nbsp;</td><td OTHER_BG2 >&nbsp;</td><td OTHER_BG3
>&nbsp;</td>
</tr>

Number of items in first row depends on level, so you have to create f.e. 3
TD tags in different TRs? Right?
Why not create 3 HMENUs for each row (Insert into TR for each row)? In
second and third HMENUs use override = &nbsp;


On 7/4/07, Rakowski Tomasz <raczek at open.infi.pl> wrote:
>
> any ideas my friends?
>
>
> Rakowski Tomasz pisze:
> > hi!
> >
> > I already use optionsplit, but I don't know the way to configure TS to
> > render those <td> cells simultaneously (td for item, td for background1
> > and td for backround2); you must create them in vertical way, whereas
> > optionslit and TMENU properties allow creating menu items one by one
> > (horizontally)
> >
> > here's my example:
> >
> >
> > temp.clickpath = COA
> > temp.clickpath {
> > wrap = <table> | </table>
> > 20 = HMENU
> > 20 {
> >
> > special = rootline
> >     special.range = 0 | -1
> >     1 = TMENU
> >     1.wrap = <tr> | </tr>
> >     1.NO.allWrap =<td class="dump_box"> &nbsp; </td> <td
> > class="navi_box"> |</td>  |*|  <td class="navi_box">|</td>  |*|  <td
> > class="navi_box_active">| </td> <td>&nbsp;</td>
> > }
> > }
> >
> > thx for help, any other ideas?
> >
> > raczek
> >
> > Bernd Wilke pisze:
> >> Rakowski Tomasz schrieb:
> >>> Hello group!!!
> >>>
> >>> I am trying to construct a sitepath, that would look like that:
> >>>
> >>> <table>
> >>> <tr>
> >>> <td> Item </td>
> >>> </tr>
> >>> <tr>
> >>> <td with some backgroud> &nbsp; </td>
> >>> </tr>
> >>> <tr>
> >>> <td with other background> &nbsp; </td>
> >>> </tr>
> >>> </table>
> >>>
> >>> So, the idea is to have a multiline menu element - in my case
> >>> three-row-item.
> >>> I know how to generate traditional item-row (first one), but I have
> >>> no idea how simultaneously render the other two rows.
> >>> What's more important those two rows cannot be created apart from
> >>> menu, because the way they look and behave depends on menu item - if
> >>> it is the last menu item backgrounds are different etc.
> >>>
> >>>
> >>> Do you have any ideas how to do sth like that?
> >>
> >> What about an optionsplit?
> >>
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/3/1/#id3520928
> >>
> >>
> >> Bernd
> _______________________________________________
> 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