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.

Support

Adding a text input and button to plugin blueprint, and then executing plugin function when button is pressed

Solved by pamtbaau View solution

Started by Kyle Alexander Buan 6 years ago · 2 replies · 484 views
6 years ago

I just want to make a plugin that has

  • A text input
  • Some submit button

When pressed, a plugin function will be executed, which will take input data from the text input

I assume that the text input can be added using blueprints, but the button, I'm not sure...

Can anyone please guide me on how to achieve this?

It doesn't have to be code, even just general guidance is appreciated! I'll try my best to figure out the rest myself.

Thanks in advance!

6 years ago Solution

@orthocube, There are plugins available that add functionality to Admin. Maybe their sourcecode can give you some inspiration?

One such plugins is Data Manager, which is developed by the Grav Team.

👍 1
6 years ago

Thank you always for your assistance!

So I need a plugin that adds functionality to the Admin, I see.

I'll check that plugin out and learn from it.

Again, thank you very much! Your assistance has been helpful and very much appreciated.

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 53 9 hours ago
Support · by Anna, 3 days ago
2 59 12 hours ago
Support · by Justin Young, 13 hours ago
1 30 13 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago