dmystic / joomla-gcalendar

Automatically exported from code.google.com/p/joomla-gcalendar
0 stars 0 forks source link

Recurring eventz #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would it be possible not to display recurring events in upcoming events module?

Original issue reported on code.google.com by k...@kingsremedies.net on 17 Aug 2009 at 11:05

GoogleCodeExporter commented 9 years ago
you mean completely disable them or not expanding them??

Original comment by allon.mo...@gmail.com on 18 Aug 2009 at 6:39

GoogleCodeExporter commented 9 years ago
I should have explained in more detail.  I am sorry about that.
(BTW, thank you for developing this great extension!)

Here is the site I am working on:
http://gruenwaldpress.com/

As you can see, mod_upcoming events is working and displaying the list of 
upcoming
events on the right.  The site owner feels that the recurring events (Monday 
night
Qigong and Swimming Dragon Tai Yi on Tuesday) are taking too much space under
"Upcoming Events" and move them to under "Ongoing Events."  

So, I installed a module to place an article on the module position and titled 
as
"Ongoing Events."  

Now, we need to figure out how to remove those two recurring events(Monday night
Qigong and Swimming Dragon Tai Yi on Tuesday) from "Upcoming Events" so that 
they are
not listed in both "Upcoming Events" and "Ongoing Events."  

Does this make sense?

So, to answer your questions, yes, to completely disable them.

Thank you.

kaz

Original comment by k...@kingsremedies.net on 18 Aug 2009 at 5:35

GoogleCodeExporter commented 9 years ago
go to modules/mod_gcalendar_upcoming/tmpl/default.php and add at line 43 
something like
if($item->get_title() == 'blabla')
continue;

Original comment by allon.mo...@gmail.com on 19 Aug 2009 at 9:35

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for your advice.

I could not figure out much of .php code, as I am not really familiar with it.

Anyway, we solved this issue by creating two google calendars: one for regular 
events
and the other for recurring events.  

Thanks!

Original comment by k...@kingsremedies.net on 19 Aug 2009 at 11:37