Problem/Motivation

The FullCalendar Options and FullCalendar Colors are not D9 compatible.

Error on using any of the modules:

User deprecated function: Theme functions are deprecated in drupal:8.0.0 and are removed from drupal:10.0.0. Use Twig templates instead of theme_fullcalendar(). See https://www.drupal.org/node/1831138 in Drupal\Core\Theme\Registry->processExtension() (line 498 of /app/core/lib/Drupal/Core/Theme/Registry.php)

Comments

bendale created an issue. See original summary.

bendale’s picture

StatusFileSize
new1.01 KB

This patch can be used with the following snippet in the repositories in composer.json file:

       {
            "type": "package",
            "package": {
                "name": "drupal/fullcalendar",
                "version": "1.0-alpha3",
                "type": "drupal-module",
                "source": {
                    "url": "https://git.drupalcode.org/project/fullcalendar.git",
                    "type": "git",
                    "reference": "3602f52dae268c6fce51965455bf0bd35818229a"
                }
            }
        }
guilhermevp’s picture

Status: Active » Needs work
StatusFileSize
new50.35 KB

The submodules do install, but return this error.

1

Needs work.

bendale’s picture

StatusFileSize
new3.53 KB

Updated the #2 patch with #3 issue fixes.

bendale’s picture

Title: Making submodules D9 compatible » Making submodules D9 compatible and fixing theme function deprecations.
Issue summary: View changes
bendale’s picture

Forgot to add the twig file to the patch. Updated the patch with it.

bendale’s picture

StatusFileSize
new3.76 KB
guilhermevp’s picture

Version: 8.x-1.0-alpha3 » 8.x-1.x-dev
Status: Needs work » Reviewed & tested by the community

Now module install and works as intended! Moving to the dev branch where the patch was tested to be committed.

ZazO72’s picture

Hi, I'm new to Drupal, and I'd like to know how I can apply the patch to solve this compatibility problem, because it seems that this patch doesn't apply like the others, or maybe I missed something... ;)

elaman’s picture

StatusFileSize
new4.77 KB

Drupal 10 attempt

gmoraleb’s picture

3215841-10.patch works for me.

Thanks

sseto’s picture

I can't seem to apply the patch. How did you get it to apply? #7 works, but it doesn't update fullcalendar_legend.

srutheesh’s picture

StatusFileSize
new768.34 KB

Completely upgraded to D10, If any one need they can use it as custom module.

dcam’s picture

Status: Reviewed & tested by the community » Closed (outdated)

I've volunteered to help clean up the FullCalendar issue queue. As part of that effort I'm closing issues open for unsupported versions of the module as "Closed (outdated)".

If this issue is still relevant for version 3.x of FullCalendar, then feel free to re-open it and update the issue version number.