[Typo3] HMENU with static images

Rickard Andersson rickard.andersson+typo3 at gmail.com
Sun Oct 9 20:48:52 CEST 2005


I have a very simple menu:

temp.MAIN_MENU = HMENU
temp.MAIN_MENU.1 = TMENU
temp.MAIN_MENU.1 {
   noBlur = 1
   NO.allWrap = <div class="menuItem">|</div>
}

Now, instead of displaying text links, I want to use some ready-made 
PNGs. Instead of outputting links like this:

<a href="index.php?id=55">Name_of_page</a>

I want e.g:

<a href="index.php?id=55"><img src="55.png" alt="" /></a>

or maybe

<a href="index.php?id=55"><img src="Name_of_page.png" alt="" /></a>

I've scoured the net for an answer to this, but I can't seem to find it. 
This somewhat troubles me since what I want to do must be extremely 
common. I've had a look at GMENU, but it appears to be useful only if 
you, for some odd reason, want to generate the images dynamically. I 
have static images that cannot be generated by Typo3 (varying 
backgrounds, unusual fonts etc). Any help on the matter (apart from a 
link to tsref) would be greatly appreciated.

I've tried searching the mailing list archives, but I haven't found 
anything there either.

Please, please help me!

Cheers,
Rickard Andersson



More information about the TYPO3-english mailing list