Skip to content
Grav 2.0 is officially stable. Read the announcement →
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 · 554 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 BenLaKnet, 5 days ago
1 123 2 days ago
Support · by BenLaKnet, 1 week ago
5 195 2 days ago
Support · by kskt, 3 days ago
0 45 3 days ago
Support · by David Meissner, 3 days ago
0 44 3 days ago
Support · by David Meissner, 4 days ago
3 92 3 days ago