[TYPO3] separate image for each menu item
Xavier Perseguers
typo3 at perseguers.ch
Tue Apr 15 08:33:12 CEST 2008
>> subparts.SUBMENU = HMENU
>> subparts.SUBMENU.entryLevel = 1
>> subparts.SUBMENU.1 = TMENU
>> subparts.SUBMENU.1 {
>> noBlur = 1
>> NO {
>> stdWrap.dataWrap (
>> <img src="/fileadmin/images/submenu/{field:uid}.gif"
>> alt="" width="62" height="40" />
>> <span class="title">|</span><br />
>> <span class="description">{field:subtitle}</span>
>> )
>> ATagParams = class="submenu"
>> }
>> }
>>
>> Thus with this configuration the image has to be named according to the
>> page id of the destination, that is fileadmin/images/submenu/12.gif for
>> page id #12.
>
> This is a bit ugly, as it doesn't allow the image to be handled inside
> TYPO3. There are two other methods (which you'll have to research,
I never said this was beautiful :-) I only gave this because it gives a
_hint_ on how to achieve his goal.
Cheers
More information about the TYPO3-english
mailing list