By secqo on Wednesday, 06 July 2011
Replies 2
Likes 0
Views 2.7K
Votes 0
Hi

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?)
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 http://www.jevents.net/en/jevents-15-to ... -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.
·
Wednesday, 06 July 2011 11:24
·
0 Likes
·
0 Votes
·
0 Comments
·
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!
·
Thursday, 07 July 2011 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post