[TYPO3-english] tree in frontend

Emmanuel Pire piremmanuel at gmail.com
Sat Jun 6 16:55:48 CEST 2009


Sorry, i made a pretty quick answer.
My mean is, if you want to build a page tree in FE, why not using a
Typoscript menu, it's made for that purpose, has a lot af options and can be
very time-saving.

Of course, this wont make the whole thing up, for the rightclick menu
stuffs, and actions after it, u'll anyway need javascript/Ajax.

My idea would be to build a basic CSS styled menu like this:

page.20 = COA page.20{ 10 = HMENU 10.wrap = <ul>|</ul> 10.1 = TMENU
10.1.NO.allWrap = <li class="menuItem lvl1" pid="{field:uid}">|</li>
10.1.NO.allWrap.insertData = 1 10.2 = TMENU 10.2.NO.allWrap = <li
class="menuItem lvl2" pid="{field:uid}">|</li> 10.2.NO.allWrap.insertData =
1 }

(this is a very basic example)

Then, with javascript, u go through all li tags and set some cool rightclick
menu !

Is it more clear now ?

Regards,
Emmanuel

On Tue, Jun 2, 2009 at 4:36 PM, mario <m at mariochiari.net> wrote:

> Il giorno lun, 01/06/2009 alle 21.07 +0200, Emmanuel Pire ha scritto:
> > hi,
> > wouldn't some typoscript make it ? a tree is a basic work in TS,
>
> what do you mean?
> m.
>
> > and it
> > works pretty good...
> >
> > Emmanuel
> >
> > On Fri, May 29, 2009 at 6:38 PM, mario <m at mariochiari.net> wrote:
> >
> ......
>
> _______________________________________________
> 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