Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Is it possible to use forms to allow some users to customize content on a page?

first-time form

Started by chatterannex 3 years ago · 1 replies · 624 views
3 years ago

So I need a way to allow some users to edit prices and text on a page. I was thinking this could be done using a form. Is this possible? I want it to show the current content in the text box and allow the user to edit it. I was thinking about using flex objects to do this but there might be another way.

Can someone with more experience help me?

3 years ago

The simplest way to set this up (but maybe not for users wanting to make simple edits) is to install the Admin plugin and give those users access to edit those parts. These are page or site "blueprints", depending on where this information goes. If you want to lock everything else down, it might get a bit more involved.

There are also a small number of plugins in the official repository that allow more in-place ("Edit this page"-type) editing for logged in users. I don't think they require the Admin plugin but probably require some custom form setup.

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 1 week ago
4 160 7 days ago
Support · by nwhitfield, 1 week ago
2 141 1 week ago
Support · by stell, 3 weeks ago
5 372 2 weeks ago
Support · by gravinator, 1 month ago
5 565 2 weeks ago
Support · by Gravver, 3 weeks ago
6 350 3 weeks ago