Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using Danland for some time now, first on Drupal 7 and later on version 8.
It would be great if the version 8 of Danland could be adapted for version 9 of Drupal.
I think, the only adaptation that should be done would be in the info.yml file according to this link:Here it is
Drupal 9 will be release in june and because this is not so much work…
The new version could run on both Drupal 8 and 9.
Thank you
Eric
Comment | File | Size | Author |
---|---|---|---|
#2 | compatibility-with-drupal-9-3108237-2.patch | 686 bytes | Deepthi kumari |
Comments
Comment #2
Deepthi kumari CreditAttribution: Deepthi kumari as a volunteer and at TA Digital commentedAttached patch. Please review.
Comment #3
EricVL CreditAttribution: EricVL commentedThank you very much Deepthi kumari for delivering your patch to make the theme compatible with Drupal 9 but I have a problem to applying the patch.
The problem is that the content of the file "danland.info.yml" in the downloaded zip or jar file is different of the one that is in the git configuration management.
In git from line 34 on it is:
page_bottom: Page bottom
screenshot: screenshot.png
libraries:
- danland/global
In the downloaded file from line 34 on it is:
page_bottom: Page bottom
screenshot: screenshot.png
libraries:
- danland/global
# Information added by Drupal.org packaging script on 2016-01-29
version: '8.x-1.0'
core: '8.x'
project: 'danland'
datestamp: 1454052240
This has probably to do with the package mechanism of Drupal.
Because the patch works on those last lines the patch mechanism fails to adapt the file.
Could you check again please so that the patch works. I'm trying to setup composer to automatically adapt the file.
Thanks in advance.
Greetings
Eric
Comment #4
EricVL CreditAttribution: EricVL commentedComment #5
EricVL CreditAttribution: EricVL commentedComment #7
kunalkapoor CreditAttribution: kunalkapoor as a volunteer and at OpenSense Labs commentedComment #8
kunalkapoor CreditAttribution: kunalkapoor as a volunteer and at OpenSense Labs commentedComment #9
tjtj CreditAttribution: tjtj commentedThis patch failed for me:
and
I removed the stuff at the end of the danland.info.yml file, and installed it in a new drupal 9 installation.
But I get the following message: