[SOLVED] CGCalendar multiple dates for 1 event

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
ElBombo
Forum Members
Forum Members
Posts: 24
Joined: Wed Oct 15, 2008 11:03 am

[SOLVED] CGCalendar multiple dates for 1 event

Post 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.
Last edited by ElBombo on Wed Dec 08, 2010 10:29 pm, edited 1 time in total.
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: CGCalendar multiple dates for 1 event

Post 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.
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm
Location: the Netherlands

Re: CGCalendar multiple dates for 1 event

Post 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.
Make your community a better place!
ElBombo
Forum Members
Forum Members
Posts: 24
Joined: Wed Oct 15, 2008 11:03 am

Re: CGCalendar multiple dates for 1 event

Post 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?
ElBombo
Forum Members
Forum Members
Posts: 24
Joined: Wed Oct 15, 2008 11:03 am

Re: CGCalendar multiple dates for 1 event

Post 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.
Last edited by ElBombo on Wed Dec 01, 2010 5:16 pm, edited 1 time in total.
ElBombo
Forum Members
Forum Members
Posts: 24
Joined: Wed Oct 15, 2008 11:03 am

Re: CGCalendar multiple dates for 1 event

Post 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.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: CGCalendar multiple dates for 1 event

Post by jmcgin51 »

please add [SOLVED] to the subject line of your original post
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: CGCalendar multiple dates for 1 event

Post by staartmees »

isn't it much simpler to put those events in aan csv-file and import it?
beattie
Forum Members
Forum Members
Posts: 98
Joined: Sun Dec 21, 2008 11:35 pm

Re: [SOLVED] CGCalendar multiple dates for 1 event

Post 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
ElBombo
Forum Members
Forum Members
Posts: 24
Joined: Wed Oct 15, 2008 11:03 am

Re: [SOLVED] CGCalendar multiple dates for 1 event

Post 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.
Post Reply

Return to “Modules/Add-Ons”