Smoerble
asked on
Typo3: read URL parameter and display in template?
I bet it is very simle but I am just too dumb. I have the following code in Typo3 template:
-------------------
IMPORTED-MENU = PHP_SCRIPT_EXT
IMPORTED-MENU {
file = fileadmin/smo_latesttopics _export.ph p
}
-------------------
The URL will have a parameter named "act".
3 questions:
1) How should the code look like that I display the value of the paramater at the marker "IMPORTED-MENU"?
2) What is the code that the parameter will be used "as is" when calling the include?
3) Is it possible to use a variable in typoScript that can be used from the PH include too? (to avoid calling the include wiht a parameter in the URL)?
-------------------
IMPORTED-MENU = PHP_SCRIPT_EXT
IMPORTED-MENU {
file = fileadmin/smo_latesttopics
}
-------------------
The URL will have a parameter named "act".
3 questions:
1) How should the code look like that I display the value of the paramater at the marker "IMPORTED-MENU"?
2) What is the code that the parameter will be used "as is" when calling the include?
3) Is it possible to use a variable in typoScript that can be used from the PH include too? (to avoid calling the include wiht a parameter in the URL)?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Regards
Smo