[TYPO3] Custom images menu

Lasse Guldsborg lasse at clioonline.dk
Thu Jan 11 19:28:56 CET 2007


Hi

This is my link: http://www.danskhistorie.dk/index.php?id=4
And this is my goal: http://www.guldsborg.dk/danskhistorie/danskhistorie.jpg

In the submenu on the left hand side I would like to have icons appear next 
to the menu text.
But as you can see, the icons are not showing. I'm pretty sure all my 
problems lies within the ##### ICON IMPORT ##### section.

But I have now spend the entire day trying to make the icons appear, without 
any luck. So I recon I need help..
Please! Can someone help me with the typoscript below?

Alternatively, could someone tell my where to find the code behind Kaspers 
example of a custom images menu: 
http://theunalteredtruth.com/index.php?id=84

A million thanks in advance!
Lasse


##### Menu 2 cObject
temp.menu_2 = HMENU
temp.menu_2.entryLevel = 1

##### ICON IMPORT #####
temp.menu_2.1 = GMENU
temp.menu_2.1 {
  altImgResource.import = uploads/media/
  altImgResource.import.field = media
  altImgResource.import.listNum = 0
  wrap = |
  ATagTitle.field = description // title
}

##### FIRST MENU LEVEL #####
temp.menu_2.1 = TMENU
temp.menu_2.1 {
  ##### NORMAL AND ACTIVE #####
  NO.allWrap = <div class="menu2-level1-no"> | </div>
  ACT = 1
  ACT.allWrap = <div class="menu2-level1-act"> | </div>
}


##### SECOND MENU LEVEL #####
temp.menu_2.2 = TMENU
temp.menu_2.2 {
  ##### NORMAL AND ACTIVE #####
  NO.allWrap = <div class="menu2-level2-no"> | </div>
  ACT = 1
  ACT.allWrap = <div class="menu2-level2-act"> | </div>
}


##### THIRD MENU LEVEL #####
temp.menu_2.3 = TMENU
temp.menu_2.3 {
  ##### NORMAL AND ACTIVE #####
  NO.allWrap = <div class="menu2-level3-no"> | </div>
  ACT = 1
  ACT.allWrap = <div class="menu2-level3-act"> | </div>
}




More information about the TYPO3-english mailing list