[TYPO3-english] Show image if menu is empty

Kay Strobach typo3 at kay-strobach.de
Tue Jun 25 22:43:54 CEST 2013


Hello Pero,

in TYPOScript you do have conditions stdWrap

	http://wiki.typo3.org/De:stdWrap#ifEmpty

This way you're able to check wether the menu created no code and then
you can provide an alternative rendering

stdWrap also contains a cObject, so that you can render whatever you
want as alternative :D

Regards
Kay

Am 25.06.13 22:02, schrieb Pero Peric:
> Hi,
> 
> I asked similar question few days ago but nobody answered, so i'll try
> to make it simple:
> 
> How to show an image instead of menu if menu is empty?
> 
> Thx.
> 
> Regards.


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful - feel free to donate:
  -
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
  - https://flattr.com/profile/kaystrobach



More information about the TYPO3-english mailing list