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.
Problem/Motivation
Drupal 8 is has been released and the port of Zen to D8 isn't done yet.
Proposed resolution
Do it! And anyone can help!
Remaining tasks
Required tasks:
Complete and release 7.x-6.0, which has component-ized its CSS. See #2448145: [meta] Release Zen 7.x-6.0RC3 is out. 8.x-7.x branch has been created.- Do the minimal steps necessary to convert 7.x-6.0 to Drupal 8. The Drupal 8 theme guide is an excellent resource.
- #2487856: Zen's .info and settings need to be migrated to YAML
- #2716767: [Meta] Port template.php functions to zen.theme file
- #2716773: [Meta] Convert 7.x-6.x Twig components to be Drupal 8-compatible
- Add new Twig variables and blocks
- Find the *.html.twig that needs to use this component and add it to STARTERKIT/templates.
- Add a library for each component's CSS and JS to the .libraries.yml file
- Determine which Classy library will need a libraries-override so we don't have duplicate CSS.
- #2716775: Add .breakpoints.yml file to define breakpoints
- #2716777: Update gulpfile.js to automatically find new component CSS files
- Nice to haves:
Original issue summary
I think that Drupal 8 is now stable enough for Zen to start getting ported.
Comment | File | Size | Author |
---|
Comments
Comment #1
JohnAlbin:-)
Comment #2
chrisjlee CreditAttribution: chrisjlee commentedWouldn't that be 8.x-6.x-dev John?
Comment #3
Gaelan CreditAttribution: Gaelan commented@chrisjlee That branch hasn't been created yet. Once the branch gets created, then yes.
Comment #4
JohnAlbinActually, it's going to be 8.x-7.x. Every time Zen gets upgraded to a new version of Drupal, it is a major overhaul. Straight ports are just not possible because of the underlying changes to the theme system in core versions.
Comment #5
JohnAlbinComment #6
Fabianx CreditAttribution: Fabianx commentedHi, just a heads up that we are still trying to create a new Theme system architecture. We will most probably keep BC (due to code freeze), but deprecate the old ways:
#2004872: [meta] Theme system architecture changes
The new API has a 1-1 mapping to the old one, so conversion should be quick, but just as information ...
Comment #7
JohnAlbinThanks, Fabian!
And, yes, I know it will be a bumpy ride. I love removing large swaths of deprecated/redundant code each time I upgrade Zen to a new core version. :-)
Comment #8
jadowd CreditAttribution: jadowd commentedsubscribing
Comment #9
chrisjlee CreditAttribution: chrisjlee commented@jadowd https://drupal.org/node/1306444
Comment #10
Christopher James Francis Rodgers CreditAttribution: Christopher James Francis Rodgers commented2013.10.19 - Test
D8-dev (Last updated: October 19, 2013 - 11:08) - {Minimal; plus module 'Toolbar'}
&
zen-8.x-7.x-dev.tar.gz. (Last updated: October 19, 2013 - 12:54)
Error from attempted auto-install via page [d8-root]/admin/modules/install:
zen-8.x-7.x-dev.tar.gz does not contain any .info.yml files.
---
Aside: (I just noticed, and )
I appreciate your comedy on Zen 8-dev page:
"Completely broken 8.x -dev release. :-)"
Comment #11
JohnAlbinComment #12
zig007 CreditAttribution: zig007 commentedHi,
Have there been any developments with regards to Drupal 8 support, as the beta is out and all?
Are there any plans with regards to when, how and so on?
Is there any specific area where newbieish contributors could focus to help making it happen?
Comment #13
peterx CreditAttribution: peterx commentedDrupal 8 has Classy, Backbone, etc. would the backporting of any of the D8 theme features help Zen transition from 7 to 8?
Comment #14
JohnAlbinThis is needed for the Drupal 8 port of aGov too.
Comment #15
jamessw CreditAttribution: jamessw commentedIf it's helpful, here's a patch doing #2-1, moving to .yml files. It shouldn't conflict with the move to 7.6. At this point, you can enable Zen as the default theme, but it's not themed.
Comment #16
SkinAre there any plans to convert this theme to Drupal 8?
Comment #17
firstlevel CreditAttribution: firstlevel commentedlooking forward as well
Comment #18
JohnAlbin@Jamessw: Thanks! Can you move the review the patch at #2487856: Zen's .info and settings need to be migrated to YAML and merge your patch with that issue?
@everyone: I'm going to get some sort of release out before Drupal 8.0.0 is released next week. Not sure if it will be alpha/beta/full release yet.
Comment #19
JohnAlbinComment #20
C-Logemann@JohnAlbin
Thanx for working on D8 Version.
For the peoples like to help: Are you currently working on d.o git repository or on another place like github?
Comment #21
jamessw CreditAttribution: jamessw commented@JohnAlbin I've added the patch to #2487856.
Comment #22
circuscowboy CreditAttribution: circuscowboy commentedI am doing some experimenting with D8 and if some of the patches were added to the dev version of the theme to make it usable I would be able to start from there and help update.
Comment #23
kmontyI think in terms of MVP for getting an alpha release of Zen for D8, we should (temporarily?) remove the Panels layouts.
While it would be nice to merge those back in later, Panels is definitely not ready for prime time and that seems like a feature that could be scrapped in favor of getting a release faster.
Comment #24
JohnAlbinAlpha 4 is out. 4th release in 4 days. https://www.drupal.org/node/2716763
I've updated the issue summary to show what still needs to be done.
Comment #25
JohnAlbinAlpha 5 is out. No more Ruby build tools. https://www.drupal.org/node/2717167
Comment #26
JohnAlbinComment #27
hoporr CreditAttribution: hoporr commentedAny updates? Last release has been a while.
Comment #28
ibot CreditAttribution: ibot as a volunteer commentedAny Updates?
Or can we assume that there will be no D8 Version of Zen anymore?
Comment #29
ibot CreditAttribution: ibot as a volunteer commentedComment #30
SkinI have no official informations, but this glorious theme has not been updated since 2016... I think that this project has been abandoned.
Comment #31
andypostWe maintain a fork at https://github.com/skilld-labs/zen but it is somehow changed over last 2 years
Comment #32
SimonLawrence CreditAttribution: SimonLawrence commented@JohnAlbin are there any plans to update this theme to make it fully compatible with D8, and now D9? It's by far one of the best private label themes out there, and easily customizable for different needs, but needs updates for compatibility with recent versions of Gulp, Drush, and Drupal Core.
I've personally been updating and adapting a 'version' of this theme for years, and am now looking to migrate to D9 which requires bigger changes than custom package.json and gulp.js file changes in the sub-themes to make it work, and would love to see the community release get some official updates.
Are there plans to do any updates any time soon to make it compatible, or should we be looking to continue to maintain our own version, or possibly fork it for ongoing maintenance and support?
If you're not considering updating the theme, I want to say thank you from all of us for a great base for so many projects over the years, it's been invaluable.