[TYPO3] querystring parameters in typoscript?

Nathan Lounds loundsna at msu.edu
Thu Jun 15 21:29:29 CEST 2006


Does anyone know if you can access querystring parameters in typoscript?

I'm trying to create a keywords menu based on a keywords passed to the page
via the querystring.

Here is my code so far:

resources = HMENU
resources.special = keywords
resources.special {
	entryLevel = -1
	setKeywords = {$_GET['keyword']}
}

It works if I put a keyword in place of {$_GET['keyword']}.

But when I go to a url like:  /index.php?id=870&keyword=CD

I want it to stick CD in for the setKeywords, like:

resources = HMENU
resources.special = keywords
resources.special {
	entryLevel = -1
	setKeywords = CD
}


Thanks!


---
Nathan Lounds
Virtual University Design and Technology
Michigan State University




More information about the TYPO3-english mailing list