Jump to content

List of calendar dates


kaz
 Share

Recommended Posts

I need a calendar, or perhaps better a list of calendar dates. A list of dates would be enough.

In frontend it may look like this:

Wednesday, 15.01.2025, 09:00 - 12:00
Information on this date above
Wednesday, 22.01.2025, 10:00 - 13:00 h
Wednesday, 29.01.2025, 09:00 - 12:00 a.m.
… that continues for a quarter

I have been thinking back and forth about how to implement it in the most convenient way for the client. ProFields, a calendar module, CSV import (ProFields), …

I imagine the handling with ProFields Table is quite cumbersome, adding manually rows takes time (!?).
How would you do it? The client must update the data each time it expires. It's always the same day of the week, except for some days and vacations.

Link to comment
Share on other sites

16 hours ago, bernhard said:

Don't understand what you mean.

You're right, I meant recurring dates on mostly the same days of the week. That's why I thought of automating it. CSV import would be great if there exists a source for CSV calendar data? I couldn't find one.

RockCalendar looks great, I'll check it out. Would a simple list output in the frontend without a calendar be possible?

Link to comment
Share on other sites

1 hour ago, kaz said:

You're right, I meant recurring dates on mostly the same days of the week. That's why I thought of automating it. CSV import would be great if there exists a source for CSV calendar data? I couldn't find one.

I still don't understand, but I probably don't have to.

RockCalendar is great when you want to give the users the possibility to enter dates, especially enter recurring dates (you also need RockGrid for that), and have the option to modify single events (add exceptions, move single events out of the series, etc).

Building a UI for this is not easy and a lot of work, so RockCalendar should save you a lot of work and hassle.

On the frontend you can do whatever you want. All events that RockCalendar creates are just regular PW pages. Showing a list is even easier than showing a calendar, because all you need is a PW selector and a foreach. The only thing necessary for events is that they have a rockcalendar_date field, because only then RockCalendar can know when they take place and where to show them in a calendar on the backend (or how to sort them).

I don't know how you "thought of automating it" or what you'd automate, so I'm not sure how RockCalendar would fit here or if at all.

Link to comment
Share on other sites

hi,

it's a bit hard for me to add something here as much as i'm sure @bernhard's module must be damn awesome... in the case you're describing, honestly i would simply write a little module using fullcalendar which would make so easy for your client to add dates (events) and for you to display those events as a calendar or a list (or both...) as you'll fill a personal db table, the data of which you could play with the way you want

coming to the automate thing, not that simple as with what you're showing the time may change sometimes but a simple cron job could add a date every week for example, be it a pw lazy cron or a genuine apache cron job, knowing an event added to the calendar is easily editable from the calendar itself

more, with fullcalendar you can easily define vacation periods, visible in the calendar and that your cron job could know when reading the db table(s) and then avoid when adding a new date/event, this is up to your php 🙂
fullcalendar has a recurent date plugin based on rrule js that comes with an dates to avoid option but still, according to what you need, it seems easier to simply give the ability to click on a date to add an event, reaaly fast for your client and far easier for you to configure and write the module 🙂

just the way i would do that 😉 

have a nice day

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...