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 →

Ical file

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

Hi all. I'm new to Grav and this is my first post here. I want to have Grav serve up ical (.ics) files. I've read some of the doc but can't get it to work.

I followed the example on how to serve up JSON - basically using a different template *.json.twig - described here: https://learn.getgrav.org/content/content-types

The JSON example works fine, so I thought it might be a simple matter to create a *.ics.twig template but when I tried that, I got the dreaded 404 (Woops. Looks like this page doesn't exist) error.

So, I'm not sure what else I need to do to be able to have Grav serve .ics files. Can anyone help?

Does anyone have a working example they would be prepared to share?

Thanks for your help!

Ross.

10 years ago

OK, so I checked existing posts and found one from last year that solved my problem for me. I should have done that first but I'm up and running now.

Thank you.
Ross.

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 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago