[TYPO3] creating tmenu/hmenu from alias of TYPO3 pages

David Smeringe david at smeringe.se
Thu Jan 17 23:42:25 CET 2008


Darko Jr. Gonzalez skrev:
> Hello
> Is there a possibility to break down "|" and instead of having menu items
> generated from the pagetitle, to generate menu items from the alias string
> of each page?
> I have standard tmenu generated, standard being to generate <a
> href="link_here">Pagetitle</a>, but in addition to this I need <a
> href="">alias</a> because I need to have more detailed explanation for over
> 50 pages (this number will grow), and i would like to have menus created
> automatically from the alias. it is not a multilingual website, so noworries
> with alias not option localize it by default with overlay.
> 
> Thanks folks for looking
> 
> Best,
> Darko


Hi there,

You would do something like this:

lib.aliasMenu = HMENU
lib.aliasMenu.1 = TMENU
lib.aliasMenu.1.NO.stdWrap.field = alias

Best regards,
David Smeringe


More information about the TYPO3-english mailing list