[Typo3] Pass $_REQUEST variable to TS
Michael Stucki
michael at typo3.org
Wed Nov 30 23:05:25 CET 2005
Jernej Zorec wrote:
> I have trouble figuring out how to pass some variables
> from $_REQUEST (from the url) to typoscipt.
>
> On a page
> www.something.com/index.php?id=12&something=123
>
> I have TS for the printer friendly page:
> 10.value = <a href="index.php?id={field:uid}&type=98"
> target="_blank"><img src="fileadmin/print.gif" border=0 alt="Printer
> frienldy"></a>
>
> Now I want to pass variable "something" to the printer page.
> On the end the url should look something like
>
> index.php?id=12&type=98&something=123
In TYPO3 3.8.1, there is a new typolink property "addQueryString" which is
exactly what you need. See TSref.
(Actually it was already there in 3.8.0 but didn't work because of a little
bug...)
- michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-english
mailing list