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

Ease of Plugin Creation?

Started by Muut Archive 9 years ago · 1 replies · 361 views
9 years ago

I'm looking at moving to Grav from Wordpress. One of the main things I need in most of the things I do though are managing a video/sound repository and having that available on a page for people to search through (sermons for churchs mostly), as well as the ability to create forms for many different things and track responses. I'm mostly a php guy, and I know that php is difficult to mix with twig from what I've heard. So I'm just curious if these two main things I need would be creatable with Grav or if I need to stick to a database/php based solution for my needs?

9 years ago

Hi, forms are provided by the Form plugin, see https://learn.getgrav.org/forms/forms.

As for the video/sound repository, looks like a good use case for plain pages, and Pages Collections. You would not need a plugin for that, just create a new page type/template in your theme. You can then go ahead and provide a special admin-side blueprint, which will give you fields such as file uploads or other things to manage your repository items. It's the equivalent of Wordpress custom post types.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1346 9 years ago
Archive · by Muut Archive, 9 years ago
2 933 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2945 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago