Contribute to JEvents

event triggers

We are looking for developers, forum moderators and translators for this project.

If you would like to help out then please add a message in this forum.

Postby secqo » Wed Jul 06, 2011 8:17 am


I am looking at creating a plugin to do Master->slave Synchronisations for multiple sites (in this case Intranet->public)(either standalone or for the synk component)

2 questions:

1: Has anyone done anything similar that they would share?

2: Is there a handy List of Event Triggers that could be used (onSave?/onDelete?)
Gold Members
Posts: 6
Joined: Tue Mar 22, 2011 10:24 am

Postby Geraint » Wed Jul 06, 2011 10:24 am

The best way to synchronise multiple JEvents installations is to use the ical import/export facililty. One the master you create an ical export menu item and generate the URL that you will use to import into the slave site - you don't show this menu item on any modules.

On the slave site set up an new calendar in the backend imported from the master site ical export URL. Then setup a cronjob to keep it up to date.

See ... -calendars for more info

intranet->public may mean that you can't easily do this since the public site can't access the private master site. If this is the case then setup a cronjob on the intranet site to push the generated ical file to a publically accessible location.

If you really want to use event triggers on an event by event basis there are lots you can use - if you download some of the silver member plugins you can see them in action there.
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
User avatar
Posts: 42781
Joined: Fri Feb 15, 2008 6:14 pm

Postby secqo » Thu Jul 07, 2011 9:22 am

thanks Geraint

In this instance we would only want a subset i.e. only specific categories or tags to be transfered. I suppose 2 calendars could be used: public/private.
but we might also need to sync event management info as well.

we are already using Sync to manage content transfer so that might be the way we do it.

thanks for the advice!
Gold Members
Posts: 6
Joined: Tue Mar 22, 2011 10:24 am

Return to Contribute to JEvents

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users