Page 1 of 1

[SOLVED] CGCalendar multiple dates for 1 event

Posted: Tue Nov 30, 2010 5:14 pm
by ElBombo
I'm looking into the CGCalendar module if it could in anyway add a new event with multiple custom dates. I see that it can submit an event with a recurring date over set time intervals, but the problem I'm trying to solve is submitting 1 event that takes place 4 to 5 times a year at arbitrary dates.

Does anybody have any pointers if this can be accomplished with the CGCalendar module and where and how I should start customizing any templates/code.

Re: CGCalendar multiple dates for 1 event

Posted: Tue Nov 30, 2010 5:37 pm
by nicmare
afaik this is not possible. even the recurring event function is not very good. it just takes the basic fields but no custom fields.

Re: CGCalendar multiple dates for 1 event

Posted: Tue Nov 30, 2010 10:12 pm
by M@rtijn
No, that's not possible.

But...
how about multiple events with same content for multiple dates.

You could set up a category and have the events listed under that category, then use the category to display them all in one list or calendar.

If this doesn't work and it only shows the first event of the category, put unique_only="0" in the CGCalendar call.

Re: CGCalendar multiple dates for 1 event

Posted: Wed Dec 01, 2010 2:59 pm
by ElBombo
mr101010 wrote: No, that's not possible.

But...
how about multiple events with same content for multiple dates.

You could set up a category and have the events listed under that category, then use the category to display them all in one list or calendar.

If this doesn't work and it only shows the first event of the category, put unique_only="0" in the CGCalendar call.
Well I'm not worried about displaying events on the frontend. I'm just trying to make life easier for the editor on the backend that has to submit an event with the same content to 5 different dates.

So the final verdict for creating 5 events-date combo's at once has to be no?

Re: CGCalendar multiple dates for 1 event

Posted: Wed Dec 01, 2010 4:36 pm
by ElBombo
I'm going through the code to see if I could actually add the functionality and stumbled upon 2 instances of "overlap_polciy" as compared to 8 times "overlap_policy"...doesn't look intentional, but don't know if it leads to a bug in the module.

Re: CGCalendar multiple dates for 1 event

Posted: Mon Dec 06, 2010 12:32 am
by ElBombo
I've actually gone another way and solved the problem I've stated in the topicstart.
With the AdvancedContent module I've added a few date fields to a page template and a dropdown that controls how many dates a page has and are shown on the frontend.

Now I'll have to find out how to create a page with the oncoming dates and corresponding pagetitles with links.

Re: CGCalendar multiple dates for 1 event

Posted: Mon Dec 06, 2010 3:36 pm
by jmcgin51
please add [SOLVED] to the subject line of your original post

Re: CGCalendar multiple dates for 1 event

Posted: Mon Dec 06, 2010 3:51 pm
by staartmees
isn't it much simpler to put those events in aan csv-file and import it?

Re: [SOLVED] CGCalendar multiple dates for 1 event

Posted: Mon Jan 03, 2011 6:20 am
by beattie
Hi ElBombo, I am trying to do the same thing, just wondering if you ever managed to solve this completely to your satisfaction and (if so) how?
Many thanks,
Beattie

Re: [SOLVED] CGCalendar multiple dates for 1 event

Posted: Mon Jan 03, 2011 2:49 pm
by ElBombo
beattie wrote:Hi ElBombo, I am trying to do the same thing, just wondering if you ever managed to solve this completely to your satisfaction and (if so) how?
Many thanks,
Beattie
Yes I have, with enough time and dedication there always a solution to be found. As I stated above I've made a special template for the events that makes use of the AdvancedContent module, it has all kinds of extra's in it.
Creating a list of these events is done with content_dump, then at the end JQuery is used here & there to manipulate some of the content.