[TYPO3] could someone please paste the correct TS syntax to make a gifbuilder gif become a hyperlink?

Christopher Torgalson bedlamhotel at gmail.com
Mon May 7 17:14:05 CEST 2007


Hi,

On 5/7/07, dave typo <typothree at gmail.com> wrote:
> great thank you,
>
> but is there a way of putting a different std wrap within each part of
> the array?
>
> ie, what is the syntax to put the wrap in here:
>
> lib.mess=IMAGE
> lib.mess.file=GIFBUILDER
> lib.mess.file{
>  XY=770,100
>  backColor = #FFFFFF
>  10=TEXT
>  10{
>    text=Rock n Roll
> stdWrap.typolink.parameter = www.google.com
>
>    offset=20,35
>        fontColor=#000000
>    fontSize=12
>  }
> }
>
> because that ^ syntax doesn't work


You haven't put the .stdWrap.typolink on the object Francois mentioned.

".stdWrap.typolink" simply does not make sense where you put it
(though GIFBUILDER's text object /does/ have .stdWrap properties).

What you need to do--unless you're trying to make an image map which
is a different problem altogether--is to link the entire image, not a
'layer' of it. Put .stdWrap.typolink directly on the IMAGE cObject,
like this:


lib.mess=IMAGE
lib.mess.stdWrap.typolink.parameter = http://www.google.com
lib.mess.file=GIFBUILDER
lib.mess.file {
...
...
...
}


-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list