[TYPO3] TMENU - gifbuilder

Patrik paprikb at gmail.com
Wed Aug 1 08:50:32 CEST 2007


I have a problem about the TMENU, which has an image (before of text), is
generated with GIFBUILDER.
The image must have a class ("imgmenu"). How add a class in typoscript of
the menu?

Code:
1 = TMENU
    1 {
        NO.allWrap = <div class="nofloat">|</div>
        NO {
            beforeImg = GIFBUILDER
            beforeImg {
                #params = class="imgmenu"
                XY = 7,22

                    10 = IMAGE
                    10.file = GIFBUILDER
                    10.file {
                        #params = class="imgmenu"
                        XY = 7,22
                        backColor.data = field:uid
                        backColor.preUserFunc =
tx_fmcolormenue_pi1->getColor
                    }
            }
            ATagParams = class="linktext"
            stdWrap.case = upper
        }

        ACT < .NO
        ACT = 1
    }

Best regards,
Patrik


More information about the TYPO3-english mailing list