[TYPO3] TEXT - typolink don't work

JoH asenau info at cybercraft.de
Thu Mar 29 14:12:51 CEST 2007


> lib.subMenu = COA
> lib.subMenu {
>
>   wrap = | <table cellspacing=0 cellpadding=0 border=0><tr><td><img
> src="fileadmin/templates/img/okvir_bl.png"></td><td><img
> src="fileadmin/templates/img/okvir_b.png"></td><td><img
> src="fileadmin/templates/img/okvir_br.png"></td></tr><tr><td
> colspan=3><img src=clear.gif width=193 height=8></td></tr></table>

No comment for this little table monster ;-)
But as far as I can see the following IMAGE should be a button with
leveltitle:1 as a text and a link pointing to the corresponding uid.

Try something like this:

5 = IMAGE
5 {
    # first create the image file
    file = GIFBUILDER
    file {
        blah
        20 = TEXT
        20.text.data = leveltitle:1
        # a link inside the text
        # makes no sense
        blah
    }
    # now link the whole
    # newly created image
    stdWrap {
        typolink.parameter.data = leveluid : 1
    }
}

You see how the image is created and then the link is added in a second
step?
That's it ...

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list