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

Configuring the yaml frontmatter provided by admin editor

admin

Started by Rance Hall 2 years ago · 2 replies · 138 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 Anna, 21 hours ago
2 67 23 minutes ago
Support · by gtx, 1 week ago
4 233 2 days ago
Support · by Paul Hodges, 2 weeks ago
13 283 5 days ago
Support · by Anna, 3 weeks ago
9 339 1 week ago
Support · by TomW, 2 weeks ago
4 192 2 weeks ago