AW: [Typo3] Menu with if clause

Wolfgang Engels egl at parsytec.de
Wed Jun 15 15:03:41 CEST 2005


Hi!

TMENU, GMENU and IMGMENU have a property called IFSUB. Use this one to create entries with an image.

...
.NO {
...
}
.IFSUB {
  wrap = <img ...> | ...
}
.ACT {
...
}
.ACTIFSUB
  wrap = <img ...> | ...
}
...

So, there is no need to use an if clause. You can find details on this in the TSref.

Regards,
Wolfgang

-----Ursprüngliche Nachricht-----
Von: Nino Katic [mailto:nkatic at public.srce.hr] 
Gesendet: Mittwoch, 15. Juni 2005 14:57
An: typo3-english at lists.netfielders.de
Betreff: [Typo3] Menu with if clause

Hi,

I have text based menu with an arrow image for menu items that have
submenus and "ordinary" menu items without that image - they don't have
submenus. Is it possible somehow with if clause to determine when should i
include the image and when not? If it's too complicated i could make an if
based on page ID - so to tell typo not to include image for that page ID,
but i'm not sure how?

Thx. and best regards,

Nino
_______________________________________________
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