I am new in Grav, actually i started usng it the past couple of weeks and i am trying to experiment with it and it seems to be a great too to work with but i am having difficulties on finding tutorials on how to do staff like adding events on a calendar. I have enabled the plugin but i cannot understant how to associate a specific event for a given date… Any help would be appreciated… Thanks alot
Thanks a lot for your quick response,
i am trying the events plugin that creates a calendar on a newly created page but
i cannot seem to find a way to add events associated with specific dates… And i cannot
find any tutorials or youtube videos how to applly things…
I did the moment i installed the plugin,
but i dont seem to undersatnd how to to do it as it semms cause i havent managed to add a single event so far…
@kleas, At the risk of coming across as unhelpful…
What have you tried so far?
What did you expect to see?
And what did you actually see?
By answering the questions I asked before, I might get an idea where things might go wrong, or where your misunderstanding is.
Please help the community help you by providing clear (reproduceable) steps, including code snippets (if applicable) of templates, page frontmatter, config changes, etc.
so i tried ical and events… i installed the plugins, created a new page with calendartemplate format, followed the instructions on copying the file to the config directory . I created a .ics file in outlook calendar , uploaded it on the calendars folder that i created as instructed but i am still not doing everything right. And to be honest its not very clear for someone who is not an advanced user… I am looking something like a 1 2 3 etc step by step instruction eith and example to test it and see wether it works or not… I am hoping - guessing that i should have a calendaar with some dots on specific dates ?? or whatever it could indicate that there is an event going on …
---
title: Event1
event:
start: 01-01-2021
---
A brief description of Event1
Browse to ‘localhost/calendar’ and you will see calendar with Jan 1st encircled.
Steps for showing Events:
Create file user/pages/04.events/events.md:
---
title: Events
content: <-- Note: Wrong frontmatter in README
items:
taxonomy@.type: event
---
### List of Events
The incorrect frontmatter in the README causes the Twig template to not find a proper collection of events. Yes, looking at the code was needed to find this issue.
Create file user/pages/04.events/event2/event.md:
---
title: Event2
event:
start: 02-01-2021
---
A brief description of Event2
Browse to ‘localhost/events’ and you will see a list containing 2 events. Page ‘localhost/calendar’ will also show 2 events in its calendar.
The event plugin will find events anywhere, as long as it contains frontmatter event:
Thanks alot!!! That was REALLY helpfull … Last night though i found out how to do it but i wasnt really sure that this is the right way… What i did was made a new page, on a calendar template , and then another page as an event template( after sooooo many tries). And then i discovered that u can create a weekly event like every tuesday that lasts for 5 months , but after i saved it it poped up like 20 new tabs evnt1 , event1 event1 and so on on my first page… I found that in order to by pass that all you have to do is to make it not visible and voila… something good happens … But reading your example made everything clear… So thanks again… You should make a quick video you know… You will help alot of people… I am going to try and apply everything your way and let you know
Hi can i ask you something else? The site i am trying to create must be bilingual. So i have this problem with the created events cause i first created it them in eng , but when i switch into greek and press on the date to see the scheduled vents it will always bring the eng one as well even if i create a new event in greek . That turns to show the same event twice in both language… Oh and somenthing else… The name of the month dissapeared just like that from the top of the calendar for no reason. Weird???