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

Ical file

Started by Muut Archive 9 years ago · 1 replies · 490 views
9 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.

9 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 Deleted User, 9 years ago
0 1341 9 years ago
Archive · by Muut Archive, 9 years ago
2 928 9 years ago
Archive · by Muut Archive, 9 years ago
2 4057 9 years ago
Archive · by Muut Archive, 9 years ago
1 2942 9 years ago
Archive · by Muut Archive, 9 years ago
3 1115 9 years ago