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.
So I invested a lot of time on my beta6 sub-theme, so I was wondering what the correct procedure was to upgrade it to beta7? Or at least a list of things to be wary of? I am using Drush (though fairly new to it).. What would be the correct commands to enter?
One thing I noticed so far is the folder change, with omega in a sub-directory. I'm guessing this needs to be changed manually?
What would need to change/be checked in my sub-theme folder? I would much rather get used to this process now than letting my sub-theme go out of date!
Thanks for any help.
Comments
Comment #1
fubhy CreditAttribution: fubhy commentedIn order to upgrade the actual visible theme files (.css / .tpl.php / etc.) you should not have to do anything... We did not change anything that would affect them unless you did some very very crazy stuff ;). We are not going to change templates or css files and handling much (or at all) any time soon. At least not before the full release. There is potential for changes in 4.1, but that is far future. For now, all you can do is copy the new stuff from the starterkits folder over to your subtheme. This would mean all the "dot" files that you don't have yet (note, this is all optional and only needed if you want to actually use them.. if you don't use bower, feel free to ignore the bower files for example.. If you don't use node, feel free to ignore the node files like packages.json, etc.). These are all just additional tools and won't harm you if you don't have them.
The only important thing you have to do is this: Due to licensing issues we had to remove the libraries from the Omega download. So assuming you are using one or more of the polyfills (like selectivizr, html5shiv, etc.) you will have to copy over the libraries.make file and invoke it with drush (@see instructions in the libraries.make file). This will download the libraries to your sub-theme automatically.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThanks fubhy, that really clears it up a lot! This should help me and others until 4.1 so thanks for posting :)
Comment #4
nancygill CreditAttribution: nancygill commentedThese libraries are missing in 4.1 and I am not a drush user. I manually changed everything over to create my subtheme and everything is good until this point. How does one copy these libraries without drush? I see a library.make file .. but without drush, how do I copy these libraries and where do they come from?