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

Non-technical end users

Solved by Paul Massendari View solution

Started by Oliver Scholz 8 years ago · 2 replies · 684 views
8 years ago

Hello! I've played around a bit with Grav and so far I like what I see a lot. I'd like to use it to make web sites for my non-technical end users. I think they can deal with a little bit of Markdown. And if not, there seems to be an editor plugin. Their needs are simple and either should be managable.

However, going through the process of creating a page in the admin panel, I think that this is way to confusing for my end users. Just to be sure that I don't misunderstand something: If I want a blog page with the default theme, I have to first create a page with the "Blog" template and then create invidiual blog posts as "Item" with my "Blog" page as its parent, right?

This is too complicated and will inevitably lead to my users wondering why their blog posts don't show up or show up in the wrong place. For a particular project, I have in mind, there need to be only two page types: Default pages that show up in the menu and blog-like entries that show up in a "News" section. So, can I easily create a theme in which:

  1. a specific template always creates pages as child pages in a particular folder, e. g. new blog items always become children to a specified "My Blog" page.
  2. the ability to create pages is restricted. My users in this case need access to only two page templates. The rest, "Error", etc. should be hidden.
  3. (optional) I can restrict access to some page creation options, in particular the advanced options.

I have yet to learn how to exactly create a theme. But a general "yes" or "no" and maybe a general pointer to where to do this would be appreciated.

8 years ago Solution

Hi Utis,

What you are looking for is totally doable, you can add some buttons in order for your user to only click a button if they want to create a blog post.
In this example, I made a button to add a concert for a festival website.

image|345x251

Link for the tutorial about how to do that is here: https://learn.getgrav.org/cookbook/admin-recipes#add-a-custom-page-creation-modal

For your second question, you can indeed hide some page templates by going into Plugins tab, and click on Admin Plugin, there will be a "hide page templates" options.

Hope it helps

👍 1
8 years ago

Thank you! That does seal the deal for me. So, I'm trying Grav for a project. 🙂

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