Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Do i need to write my own Plugin to get $_GET-Param?

Started by Jonas Marx 8 years ago · 2 replies · 700 views
8 years ago

Hello there!
Until know, i enjoyed grav much, but now im stuck. I need a $_GET param in one of my sides. First, i tried to get it by using the twig app.request.query.get("opt"). This always returned "null". I searched this forum and found that someone wanted to write his own plugin to read this variable.

Unfortunally he didn't seem to finish nor publish this plugin. Do i really need a plugin for "just" getting $_GET and $_POST params and if so, what is the easiest way?

Greetings,
RastaTux

8 years ago

Ah nice, thank you! I didn't find this page, sorry.

Suggested topics

Topic Participants Replies Views Activity
General · by jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 311 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 266 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago