[Typo3] How to add dynamic parameters to external URLs?

Matthias Mark foren at matthiasmark.de
Mon Mar 7 23:09:51 CET 2005


Hi Marlies

I tried it with a graphical menu but the results were only 
white boxes (in a wrong size and color) instead of the 
menu items titel on a background.	

As you can see I assigned an image to after.data.  Was that 
the wrong way to do it or have I used a wrong syntax?

------------------------------------------------------------------------------
temp.menu_3.1 = GMENU
temp.menu_3.1.NO {
    doNotLinkIt = 1
    before.data = field:url
    before.wrap = <A href="|
    stdWrap.data = GPvar:country 
    stdWrap.wrap = &country= |" target={$targetFrame}>
	
    after.data = IMAGE
    after.data.file = GIFBUILDER
    after.data.file{
        XY = [10.w]+20,21
        backColor = #6D0000

        10 = TEXT
        10.text.case = upper
        10.fontFile = fileadmin/template/ft77.ttf
        10.text.field = nav_title // title
        10.fontSize = 12
        10.fontColor = #FFFFFF
        10.offset = 15,19
        #10.niceText = 0
   }
   after.wrap =|</A>
   allWrap = | <img src="fileadmin/template/main/images/blank.gif" width="10" height="1" border="0" alt="" />|*||<img src="fileadmin/template/main/images/blank.gif" width="10" height="1" border="0" alt="" /> |*| |
}
-----------------------------------------------------------------------------------------					




Thanks,
Matthias



More information about the TYPO3-english mailing list