[Typo3] HMENU with static images

Krystian Szymukowicz t33k.RE.MO.VE at RE.MO.VE.prolabium.com
Sun Oct 9 22:46:03 CEST 2005


Rickard Andersson wrote:
> 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>
> }
> 
> 
> 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>

hi

i am not sure if it is optimal solution but it works

maybe some well known TS guru can do it with one line less ;)

temp.MAIN_MENU = HMENU
temp.MAIN_MENU.1 = TMENU
temp.MAIN_MENU.1 {
noBlur = 1
NO.subst_elementUid = 1
NO.stdWrap.wrap = <img src="{elementUid}.png" alt="" />|
NO.allWrap = <div class="menuItem">|</div>
}

--
grtz
Krystian
Szymukowicz



More information about the TYPO3-english mailing list