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 access account data from twig variables?

Started by Muut Archive 10 years ago · 1 replies · 639 views
10 years ago

I'm in the process of creating a multi-author blog and was hoping to include author data that could be entered by each individual. Presumably, the best place to store data like that would be inside their user/accounts/USERNAME.yaml file. This brings up two questions:

  1. Is this data accessible through the standard variables in Twig?
  2. Can I then create a blueprint to add a UI for entering this data in using the Admin Panel?

Any insight?

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2563 9 years ago
Archive · by Muut Archive, 9 years ago
2 1689 9 years ago
Archive · by Muut Archive, 9 years ago
2 4982 9 years ago
Archive · by Muut Archive, 9 years ago
1 3806 9 years ago
Archive · by Muut Archive, 9 years ago
3 1799 9 years ago