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.

Plugins

Plugin fails ever and ever again

Started by Niels 8 years ago · 1 replies · 664 views
8 years ago

Hey,
I am making a Plugin for my Site. This Plugin gets his input from the Html Forms. But it doesnt work. At first i tried something like this:

< html>
<body>

HTML
<form action="test.php" method="post">
Name: <input type="text" name="name"><br>
E-mail: <input type="text" name="email"><br>
<input type="submit">
</form>

</body>
</html> 

And on the .php file:

PHP
<html>
<body>

Welcome <?php echo $_POST["name"]; ?><br>
Your email address is: <?php echo $_POST["email"]; ?>

</body>
</html> 

( I called the File test.php and put it in the pages folder )

It didnt worked so i decided to make a Plugin with the new Devtools Plugin. Because it didn't worked i followd step by Step the Grav Documention about it. ---> i had excettly the Same Code but it still didn't work.
Can Someone please Help me? 😕

Greatings,

Niels

8 years ago

@Niels It makes me curious about which docs you followed step by step. Would you mind sharing the url?

last edited 07/04/18 by pamtbaau

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 53 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1179 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 47 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 72 2 months ago