Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

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

Started by Jonas Marx 9 years ago · 2 replies · 846 views
9 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

9 years ago

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

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 24 hours ago
2 41 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago