Ok, I'm being brave and working on trying to get event_calendar to work with the new 2.4.0 branch. Is anyone else attempting to get this working yet?
So far I've done the following things?
In /event_calendar/code/RecurringDayOfMonth.php altered line 42 from:
Database::alteration_message("Recurring Days of Month added.","created");
to
DB::alteration_message("Recurring Days of Month added.","created");
In /event_calendar/code/RecurringDayOfWeek.php I altered line 45 from:
Database::alteration_message("Recurring Days of Week added.","created");
to
DB::alteration_message("Recurring Days of Week added.","created");
After those changes I could at least get the module to install without errors.
I can also create a calendar, but cannot create calendar events. Now the current error is:
Fatal error: Call to a member function FormName() on a non-object in /home/kiveo/subdomains/sstest/sapphire/forms/DateField.php on line 54
At this point, in dataobject_manager I switched out and used the nestedUrls version of the class and ran into a couple parse errors.
In the new DataObjectManager.php I had to make the following code additions:
protected static $allow_assets_override = true;
protected static $allow_css_override = false;
public static function allow_assets_override($bool)
{
if($bool) {
DataObject::add_extension("Folder","AssetManagerFolder");
SortableDataObject::add_sortable_class("File");
}
else
DataObject::remove_extension("Folder","AssetManagerFolder");
}
public static function allow_css_override($bool)
{
self::$allow_css_override = $bool;
}
I'm aware there are a few more changes made to the live DataObjectManager relating to paths for include files, and I'm about to find those and make those edits as well.
UncleCheese if you or anyone else is working on this in the community, I would love any feedback as you have it. I will also keep updating this thread for anyone else who will try to undertake this endeavor.