Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Getting Started > Using TYPO3 > GET parameters
Total Posts: 3 - Pages (1): [1]
Author: panos konstantinou
Posted: Jun 06 2008 - 04:34 AM
Subject: GET parameters
Hello,

congrats for your site! The WEC Community is an oasis in the jungle of TYPO3 Community!
I would like to ask how can I retrieve a GET Parameter to display inside my template (for example to substitute a marker)?

Thank you!
Author: Jeff Segars
Posted: Jun 06 2008 - 04:54 PM
Subject: re: GET parameters
Panos,
Check out the getText section of the Typoscript Reference document at http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/2/2/, specifically the references to GPvar.

if you have a URL with "&key=value" in it, you could display this value using the data property.

CODE:

page.15 = TEXT
page.15.data = GPvar : key


Hope that helps get you started!
Jeff
Author: panos konstantinou
Posted: Jun 07 2008 - 11:07 AM
Subject: re: GET parameters
Thank you very much! I was trying GPvars:key. My mistake was the (s).
Total Posts: 3 - Pages (1): [1]
You must login to post a message to this conference.