CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Joomla Calendar (JCal Pro) for CiviEvent
Pages: [1] 2

Author Topic: Joomla Calendar (JCal Pro) for CiviEvent  (Read 16391 times)

Conga3.com

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
  • Should be golfing...
    • Conga3
Joomla Calendar (JCal Pro) for CiviEvent
April 26, 2007, 09:13:03 am
It appears, JCal Pro can be hacked/synced to work as the frontend calendar for CiviEvents.  This would be a quick and simple way to use a good looking Joomla calendar component with CiviEVENTS.

There would be a number of different ways to do this, but I would do it like this:

Create import/sync script component that:

1. - Create new table with the CiviEvent_ID -> JCalEvent_ID relationship stored.  Knowing this relationship will allow the sync script in #4 to update changes, and would be needed for #5.

2. - Create new table with CiviEventType_ID -> JCalEventCategory_ID relationship stored.

3. - Import the "Event Types" table from CiviEvents into the JCal "Event Categories" with any new types found; sync existing types/categories based on #2 Table.

4. - Import the events fields from CiviEvents into JCal for any new events found; sync existing events.

- - - CiviEVENTS - - - - - - JCal Pro - - -
titletitle
description*description*
event_type_idcat
start_datestart_date
end_dateend_date
is_activepublished

* - Not really needed, but I added it because they match up and variations to this idea might want to use it.

5. - Hack JCal calendar display to:
     IF JCalEVENT_ID is related to CiviEvents_ID, link to the CiviEVENTS Info page (based on that ID) (Example : index.php?option=com_civicrm&task=civicrm/event/info&id=1&Itemid=6)
     ELSE - use regular link to JCal Event Info page.

Conclusion

You could create and manage events in BOTH JCal Pro and CiviEVENTS.  The #5 hack would let you use the JCal calendar to link to the CiviEvents Info pages, so you don't need to do any duplicate work.  Since it is a HACK though, you might have to re-hack if you update you JCal version. 

The project I "might" need this for is a few months down the road, so I'm not going to develop this just yet for myself.  Things might change between now and then for me and this project. If enough people need this done ASAP, I could have this created for them, if they help with the development costs.
« Last Edit: April 26, 2007, 10:56:52 am by tguill »

FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: Joomla Calendar (JCal Pro) for CiviEvent
May 02, 2007, 04:49:52 am
I think that you're on to something here :) !  What are the advantages of maintaining JCal's tables rather than telling JCal to use CiviEvent instead? 

Being new to open source, are there any cultural protocols for approaching JCal's developer.  It seems to me that the most elegant solution is a "use CiviEvent" parameter in the component's backend settings.

I'm very interested in this proposal!
Lead Developer, C3 Design.
Twitter: @FatherShawn

Conga3.com

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
  • Should be golfing...
    • Conga3
Re: Joomla Calendar (JCal Pro) for CiviEvent
May 02, 2007, 08:31:21 am
Hey Father Shaun,

By writing a Synchronization / Event Import script as a completely separate component which just copies CiviEvents over to JCal, keeps track of them, and can update them if you make any changes... this means you're not "HACKING" up JCal, so updates to the JCal software are possible.

Also, JCal has a decent Event Manager already, and you might find you want to post an Event that doesn't require CiviMember sign-up, or any CiviCRM interaction at all, and posting that event in JCal would be quicker and simpler.

The only HACK that I would want to do is what I mentioned before, by hacking the calendar display.  But this a very minimal hack.

RE:  ...approaching JCal's developer

The software is licensed GNU GPL, so you don't need to ask permission or anything to make changes to their software.

And NO, they probably won't add a feature to their software that allows the user to select a "use CiviEvent" parameter. 

Like I said in my first post, there are many ways to do this.  But I wouldn't modify JCal to "use CiviEvent" because I then couldn't update my JCal version when they come out with a new version.



FatherShawn

  • Ask me questions
  • ****
  • Posts: 372
  • Karma: 25
    • C3 Design
  • CiviCRM version: 4.2.11
  • CMS version: Drupal 7.23
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: Joomla Calendar (JCal Pro) for CiviEvent
May 05, 2007, 03:24:17 am
Well put - minimal hacking to keep a clear upgrade path.  As I said before, I'll follow this with interest!
Lead Developer, C3 Design.
Twitter: @FatherShawn

Conga3.com

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
  • Should be golfing...
    • Conga3
Re: Joomla Calendar (JCal Pro) for CiviEvent
May 16, 2007, 06:19:52 am
OK,

I've gone ahead with this idea, and I'm having this Joomla! component created.

I should have it available later this week.

There have been around 900 'stable' downloads of the Joomla version of CiviCRM (at the time of this posting), so there should be a number of people who need a calendar solution for their CiviCRM install. 

If you are interested in this let me know.




Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla Calendar (JCal Pro) for CiviEvent
May 16, 2007, 11:21:28 am
Excellent news (on the upcoming Joomla! component). I've created a stub page in our Documentation for describing how to install and use various calendaring options. It would be great if you could post download, install and configuration info on this page when you're ready.

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviEvent+Calendars
Protect your investment in CiviCRM by  becoming a Member!

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Joomla Calendar (JCal Pro) for CiviEvent
June 05, 2007, 05:51:19 pm
That is very cool. I think what would really help more generically is an rss feel option, since many calendars will take those.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla Calendar (JCal Pro) for CiviEvent
June 05, 2007, 11:11:09 pm
Hi Elin - 1.8 will include an RSS feed option, a gData (Google Calendar format) option and the existing iCal feed. The code for this is committed and running in trunk if you're interested .

Regards,
dave
Protect your investment in CiviCRM by  becoming a Member!

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Joomla Calendar (JCal Pro) for CiviEvent
June 07, 2007, 02:40:14 am
That's great! Thanks.

rick

  • Guest
Re: Joomla Calendar (JCal Pro) for CiviEvent
August 30, 2008, 09:57:33 am
It looks like no one has finished off this component. I have created a module to export a list of all events from civiCRM. If I post this module - can someone add the sychronisation part so that it is imported into JCAL?

aspagarino

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 10
  • San Diego Joomla
    • California Center for Sustainable Energy
  • CiviCRM version: CiviCRM 4.3
  • CMS version: Drupal 7
Re: Joomla Calendar (JCal Pro) for CiviEvent
September 03, 2008, 12:27:05 pm
I am interested on the JCal Pro integration or sync option as well... it would be great to know if Conga3 has any new information
Andres

Open Source is Green

Conga3.com

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
  • Should be golfing...
    • Conga3
Re: Joomla Calendar (JCal Pro) for CiviEvent
October 08, 2008, 08:46:55 am
I stopped working on this project awhile back when the client/friend I built it for didn't continue using CiviCRM.

It was mostly finished at the time, but now is outdated.

If someone wants to grab what I have and take off with it, go ahead.

I'm always open to discussing custom projects like this.



http://www.conga3.com/com_civicrm_jcal.zip

NOTE: If you download hit me up with a forum "applaud" - I want more Karma than Lobo!!!

I was developing it using :

Joomla 1.0.12
JCal 1.5.3
CiviCRM 1.7.9379
« Last Edit: March 18, 2009, 03:02:14 pm by Conga3.com »

sungoddess

  • Guest
Re: Joomla Calendar (JCal Pro) for CiviEvent
March 18, 2009, 11:39:57 am
I wish somebody would upgrade this for J1.5... it's heart breaking.

Conga3.com

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 5
  • Should be golfing...
    • Conga3
Re: Joomla Calendar (JCal Pro) for CiviEvent
March 18, 2009, 02:51:22 pm
An updated version of this component is possible if enough people want it.... and are willing to share in the cost.

Post here if you're interested, and I'll match any pledges of $$ to get an update done.

If you do pledge $$, PM me with contact info.




boxwoodgrn

  • Guest
Re: Joomla Calendar (JCal Pro) for CiviEvent
April 22, 2009, 04:11:21 pm
I'm in for the $$ to assist.  PM me, we can talk details.

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Joomla Calendar (JCal Pro) for CiviEvent

This forum was archived on 2017-11-26.