[TYPO3-english] Show image if menu is empty

Ralf-Rene Schröder ralf.rene at online.de
Wed Jun 26 03:14:36 CEST 2013


Am 26.06.2013 00:03, schrieb Pero Peric:
> I really don't know where to put ifEmpty. 
something like this should help you...

10 = HMENU
10 {
  stdWrap.ifEmpty.cObject = IMAGE
  stdWrap.ifEmpty.cObject {
    ... your image stuff
  }
  ... your menu staff
}

or another way:

10 = IMAGE
10 {
  override.cObject = HMENU
  override.cObject {
    ... your menu staff
  }
  ... your image stuff
}

-- 
image[FORMAT] - Ralf-René Schröder
http://www.image-format.eu ... Wir geben Ihrem Image das richtige Format


More information about the TYPO3-english mailing list