Hi Søren,

I think you should be able to do this with override. TSref says:

        if "override" returns something else than "" or zero (trimmed), the
        content is loaded with this!

So:

lib.readonlinelink = TEXT
lib.readonlinelink.value = {$readonlinelinktext.da}
lib.readonlinelink.typolink {
          parameter.data = getIndpEnv:TYPO3_REQUEST_URL
          parameter.override.field = your_fieldname
          title = {$readonlinelinktext.da}
}

Cheers,
Loek



On 10/07/2010 03:47 PM, Søren Madsen wrote:

If the "Link field" is set - use that value for the typolink.parameter.data
If not - use getIndpEnv:TYPO3_REQUEST_URL
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to