How to get GET param value in templates?
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- parmonov98
- Posts: 33
- Joined: 24 Sep 2020, 12:12
How to get GET param value in templates?
I need l_type's value, depending on its value I wanna make displaying_type icon active or inactive as here https://i.imgur.com/0A3rG40.png.
How can I get this in a template?
https://i.imgur.com/V2ssV5J.png
How can I get this in a template?
https://i.imgur.com/V2ssV5J.png
Re: How to get GET param value in templates?
Use the param() view helper:
https://aimeos.org/docs/latest/infrastr ... ers/#param
Code: Select all
$this->param( 'l_type' )
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star