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 →

How can I use saved data from a form in a page template?

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

I have a frontend form for recording hours spent on a project. It saves the data nicely in the user/data folder. How can I iterate over that data in a TWIG template so that I can build a page that shows who spent time on what projects?

10 years ago

A plugin needs to make that data available to twig. Look at how Comments plugin works, for example, it's a very similar concept.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 676 1 week ago
Archive · by Deleted User, 9 years ago
0 3043 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5338 9 years ago
Archive · by Muut Archive, 9 years ago
1 4135 9 years ago