Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Ical file

Started by Muut Archive 10 years ago · 1 replies · 555 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 Deleted User, 9 years ago
0 2287 9 years ago
Archive · by Muut Archive, 9 years ago
2 1500 9 years ago
Archive · by Muut Archive, 9 years ago
2 4748 9 years ago
Archive · by Muut Archive, 9 years ago
1 3564 9 years ago
Archive · by Muut Archive, 9 years ago
3 1624 9 years ago