Closed (fixed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2010 at 23:16 UTC
Updated:
21 Aug 2013 at 14:30 UTC
http://drupal.org/node/219527 doesn't yet include the upgrade path from 1.1/1.x to 2.0. There are some fairly significant changes - if you just upgrade base zen, and not the sub-theme, the sub-theme will be very broken - regions missing, text out of alignment, etc.
Would be good to get the upgrade doc updated.
Comments
Comment #1
remedios commentedHere's how I upgraded to Zen 6.x-2.0:
{}in the new STARTERKIT folders (css/blocks.css, css/pages.css, css/layout-liquid.css, etc).html-elements.cssto new filecss/html-reset.csscss/pages.cssandcss/regions.css.sidebar-left= (New)sidebar-first;sidebar-right=sidebar-second.inner=.section.navbar {styles into newNavigation {styles. Do the same for#skip-to-navstyles (this becomes#skip-link)images/folder into thecss/folder (creating the foldercss/images/) OR change all your image paths in all stylesheets to match the change in CSS folder hierarchy. Otherwise, your image links from the old theme will be broken.defaults.cssandsystem-menus.css(Optional. Refer to documentation in MYTHEME.info file if you want to do this).Zen/templatesto MYTHEME/templates (also possibly optional)This is just a start. My upgrade worked, but it took a while to track down the image folder problem, and I had some problems uploading and moving files around.
Does anyone have notes to add to this, or can you point out omissions in the upgrade process?
Thanks for a great theme!
Amy
Comment #2
geerlingguy commentedSub.
Comment #3
naught101 commentedNice work Amy. I'd say a review from the maintainers, or someone else who's completed the process, is in order. Then this should be added to the documentation
Comment #4
krabbe commentedThanx a lot!
Sub.
Comment #5
JimNastic commentedIs it possible to install both Zen 1.x and Zen 2.x simultaneously and switch between them?
Comment #6
akalata commentedJimNastic, check out a solution: http://drupal.org/node/835554#comment-3233632
Comment #7
JimNastic commentedThanks akalata!
I will try it
Comment #8
nerdacus commentedVery good post, remedios. I was trying to update Zen while using my old sub-theme and my test site fell apart. My process took a bit longer because I was using complicated CCK templates, but your instructions really guided the way and shone light on some pitfalls I didn't see.
Thanks,
-Marcus
Comment #9
cookiesunshinex commentedIs there any reason why I should upgrade from Zen 1.1 to Zen 2.0?
It seems like a lot of work to upgrade 4 or 5 sites and the result is nothing more than I'm running a newer version of Zen Base Theme.
Will Zen 1.1 be discontinued at some point?
I've never upgraded Zen base theme on any of my sites and they are all working just fine.
Comment #10
geerlingguy commentedNot in particular... someday it will be unsupported. But I'm running 2-3 sites on 1.x, 3-4 on 2.x, and it's really not worth the hassle, unless you want to use a couple of the new features... and even then, you can grab snippets from 2.x for your use on a 1.x theme.
Comment #11
luco commentedI found that rebuilding my themes using some of the old CSS wasn't such a big hassle after all. sure, it IS a drag... but it also led me to replace some custom code I had inserted into template.php with modules: http://drupal.org/project/custom_search to theme the search box and http://drupal.org/project/submitted_by for fancy dates.
I revised my layouts, too, and gave up on some elements that simply didn't belong ;)
so in a nutshell it worked for me. my rationale is that D7 is still a bit too far and I can keep my D6 sites updated for the time being. some of my sites come from partnerships so for my clients it's added value (but then again I'm running less than 10 different ones, and most of them were fairly straightforward). AND new websites on my portfolio will be up to date \o/
so anyway I suggest one could round up all the websites produced and think about this approach. it's got its pros and cons.
Comment #12
willhowlett commentedSubscribing
Comment #13
timd.mackey commentedsubscribing
Comment #14
johnalbinremedios++ You rock, Amy!
I've added this to the online docs at http://drupal.org/node/1070182
I added a section about if/why you would want to upgrade. Please add more reasons if you think of them.
Also, I've added Amy's docs verbatim. They need to be flushed out slightly reformatted, but they are a great starting point. Anyone is more than welcome to help out.
Comment #15
neilgee commentedI have added the process I used and documented the upgrade - http://www.coolestguyplanettech.com/downtown/upgrading-zen-theme-and-sub...
Comment #16
echoz commentedThe "needs review" status was from summer '11 so changing that, as the docs copy has the same note, but keeping active for discoverability.
Comment #17
naught101 commentedWinter, actually :P
Comment #18
johnalbinThe online docs are pretty discoverable. :-)