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 →

EXTERNAL - data.json decode

Started by Muut Archive 10 years ago · 3 replies · 520 views
10 years ago

How can I implement an site wide read only external JSON file by key. In other words I will have several pages populated from the json file based on the key: (Id: 1) all information associated on that page. (Id: 2) that information on the next page. Etc.

I saw the json decode filter in grav however I don't know how to implement it.

Any help would be greatly appreciated.

10 years ago

A documentation update is pending approval. You can see the section on working with external files here.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 673 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 5337 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago