"Scheduling" plugin activation on Baikal-flat

247 views
Skip to first unread message

Stéphane Mouilleseaux

unread,
Feb 25, 2016, 5:40:45 PM2/25/16
to SabreDAV Discussion
Hello,

I have a little problem, I would appreciate some help from skilled people as I'm not a specialist in programming !
I've installed Baikal (flat package from ZIP, transfered with FTP), which I've just updated to 0.3.5 (with Sabre-dav 3.5) following stricly this procedure : http://sabre.io/baikal/upgrade/
I wanted to activate the scheduling function. In that purpose, I read the procedure here : http://sabre.io/dav/scheduling/

As I understand, these instructions must be added to the so-called "server", as follows :
$server->addPlugin(
    new Sabre\CalDAV\Schedule\Plugin()
);

In case it doesn't work, an alternate solution is to force e-mail sending, with these instructions :
$server->addPlugin(
    new Sabre\CalDAV\Schedule\IMipPlugin('ser...@example.org')
);

My problem is that I don't know in which file I must add those lines ! I tried in the file called "server.php" located here baikal\vendor\sabre\dav\lib\DAV\server.php : ,
but it doesn't work. It just seems to be full with class definitions.
There is also a file called sabredav.php in baikal\vendor\sabre\dav\bin\, but it doesn't seem to work either.

Do you know where the plugin activation should be implemented ? Unfortunately, I have no SSH access to my remote server, so I can't use the regular installation method.

Thank you very much in advance !

Stephane

Evert Pot

unread,
Feb 28, 2016, 2:22:24 PM2/28/16
to SabreDAV Discussion
Hi Stephane,

For Baikal we officially don't support people making modifications to their local installation. I think it's better to submit this as a feature request, so we can just include it in the next version:

https://github.com/fruux/Baikal/issues

However, if you want to do this anyway, the file where you would add those lines is Core\Frameworks\Baikal\Core\Server.php

There is no flat/regular installation method anymore by the way. There's only one zip.

Evert
Reply all
Reply to author
Forward
0 new messages