Link to home
Start Free TrialLog in
Avatar of Smoerble
SmoerbleFlag for Germany

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.php
}
-------------------

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
Avatar of m1tk4
m1tk4
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Smoerble

ASKER

Thanks for your help.
Regards
Smo