[TYPO3-english] HMENU with images

Tomas Mrozek mail at cascaval.com
Thu Aug 27 09:08:20 CEST 2009


If you save the images in the media field of each page, then you can use
them in the menu this way:

lib.shortcut = HMENU
lib.shortcut.special = directory
lib.shortcut.special.value = 35
lib.shortcut.1 = GMENU
lib.shortcut.1 {
  NO {
    allWrap  = <div class="shortcut">|</div>
    XY = [10.w],[10.h]

    10 = IMAGE
    10 {
      file.import = uploads/media/
      file.import.field = media
      file.import.listNum = 0
    }
  }
}

Tomas Mrozek


More information about the TYPO3-english mailing list