[TYPO3-dev] How to make a print link with piVars?
Peter Klein
peter at umloud.dk
Wed Apr 25 11:05:48 CEST 2007
Hi Brian. Try this: (Untested)
-- cut --
lib.printURL = IMAGE
lib.printURL.file = fileadmin/templates/gfx/toolbar_icons/udskriv.gif
lib.printURL.stdWrap.typolink {
parameter.data = page:uid
additionalParams = &print=1
addQueryString = 1
addQueryString.exclude = id,print
}
-- cut --
--
Peter Klein/Umloud Untd
"Brian Bendtsen" <"bb[FJERN]"@bellevuevej.dk> skrev i en meddelelse
news:mailman.1.1177433932.10045.typo3-dev at lists.netfielders.de...
> Rudy Gnodde skrev:
>> Hello Brian,
>>
>> Take a look at typolink:
>> http://typo3.org/documentation/document-library/references/doc_core_tsre
>> f/4.0.0/view/5/8/
>
> Im trying to insert an image and make it a link.
>
> Im trying this:
>
> #quicklinks
> lib.printURL = IMAGE
> lib.printURL.file = fileadmin/templates/gfx/toolbar_icons/udskriv.gif
> lib.printURL.typolink {
> parameter = {page:uid}
> additionalParams = &print=1
> ATagBeforeWrap = 1
> }
>
> but no link is created.
>
> /BB
More information about the TYPO3-dev
mailing list