[Typo3] Insert title into wrap

Dmitrii Dimandt dmitriid at gmail.com
Thu Sep 22 11:22:01 CEST 2005


On 9/21/05, Christopher <bedlamhotel at gmail.com> wrote:
> Hi,
>
> On 21/09/05, Dmitrii Dimandt <dmitriid at gmail.com> wrote:
> > On 9/21/05, Peter Klein <peter at umloud.dk> wrote:
> > > Hi Dmitrii, instead of "wrap" you should use "dataWrap" which allows you to
> > > add fields directly on the wrap.
> > >
> > > temp.third_menu.dataWrap = <div id="item-left"> <h3>{field:title}</h3> <ul>
> > > | </ul> </div>
> >
> >
> > Thank you, I have already found it in the docs, used it and then
> > decided not to use it :))
> >
> > Actually, I am now looking for a solution to the second question:
> >
> > [quote]
> > I want to display a third-level menu in a separate
> > div on the page. However, I don't want that div to appear if there is
> > no third-level menu. How can I do that?
> > [/quote]
>
> Use the .wrap property of TMENU; from the TMENU page of the TSref [1]:
> "Wraps only if there were items in the menu!"
>

I wonder why I am so stupid sometimes :)))

Thank you all!



More information about the TYPO3-english mailing list