Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Configuring the yaml frontmatter provided by admin editor

admin

Started by Rance Hall 2 years ago · 2 replies · 363 views
2 years ago

I am seeking a method to have the gui editor in the admin section automatically add the Full name of the user that saves an initial blog post instead of the site user.

I don't care about future editors, just who wrote it originally. I've adjusted the theme to use page.header.author to display the field, which works when I manually edit the front matter.

If I understand correctly, this is a blueprint, but I couldn't find an example close enough to my use case to explain how I should go about this.

Will someone please point me in the right direction?

2 years ago

It would seem so. thanks for the tip, now to figure out the "name" of the logged in user,

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 227 9 hours ago
Support · by alex, 2 months ago
8 667 24 hours ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 159 3 days ago
Support · by TomW, 6 days ago
2 106 5 days ago