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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

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

Started by Jonas Marx 8 years ago · 2 replies · 614 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 Jerry Hunt, 4 days ago
2 91 13 hours ago
General · by pamtbaau, 19 hours ago
1 61 18 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 354 5 days ago
General · by Duc , 6 days ago
3 44 5 days ago