I couldn't find any documentation about how to upgrade a sub-theme created with a beta-version (beta3 in my case).
Which files need to be replaced/merged? Do I have to redo some of the steps described in How to build your own sub-theme (6.x)?
The instructions about upgrading Zen from beta1 to beta2 are obviously not sufficient, the version number of my sub-theme did not change. And, by the way, the version for the Zen theme shown on the Available updates-page didn't change either, although the right version is shown on the Themes list-page.
Thank you for any advice.
Comments
Comment #1
joostvdl commentedSame issue here....
Comment #2
joostvdl commentedFound the solution:
Go to the .info file of the sub theme. Change at the end of the file the line:
into
Then all notices of updates are gone.
Comment #3
johnalbin@joostvdl: That's one step. More may be needed.
I am swamped right now. I only just had time to release 6.x-1.0. I probably won't have time to write upgrade docs until after Drupalcon DC in March.
Comment #4
silurius commentedSubscribing...
Comment #5
jlevis commentedI had the same problem upgrading Zen 6.x-1.0-beta3.
I have a subtheme that was created from that version and after updating to Zen 6.x-1.0, the version for the Zen theme shown on the Available updates-page didn't change, and continued to show in red with "Update available" next to it. The right version was shown on the Themes list-page.
Doing the solution in #374832-2: How to upgrade subtheme from 1.x-beta? seems to have solved the problem, but is it as simple as that? Are there any other merging steps required?
Comment #6
mimhakkuh commentedSubscribing!
Comment #7
wickwood commentedSubscribing as well.
Comment #8
Branjawn commentedI don't have a subtheme, I'm just running Zen classic for now, and I am having the same problem with the "Update available" not going away.
EDIT: Turns out, big surprise, it was user error. I went back over my folders and realized I unpacked Zen in the modules folder. Derrrr!!! Deleted that and unpacked in themes and all is well.
Comment #9
peterx commentedSomething that would improve subtheming in Drupal. When a subtheme is in a separate directory instead of a subdirectory, list subthemes as separate themes in the themes update list. Have them display a prerequisite in the same way as modules list prerequisites. The subtheme could remain 1.0-beta3 and list Zen 1.x as the prerequisite.
I do not know how this could be added to Drupal. Suggesting it as a Drupal enhancement would push it out to Drupal 7 with the Drupal 6 version backported in 2012.
While we are fixing up the themes list, modules should be able to load CSS and js through the .info file the same way as themes. Module and theme processing could share more features and more code.
Comment #10
bwoods commentedSubscribing ... I have the exact same code in my staging and production environments. In staging, the update message went away, but it still exists in production. I still have 6.x-1.0-beta3 listed in my subthemes, but not in the base zen theme, which should be the only one that matters. This is very strange!
Comment #11
mimhakkuh commentedSo - any advises on how to correctly update? Is it enough to just change the sub theme's version information (http://drupal.org/node/374832#comment-1260907)? Or are other steps neccessary?
Comment #12
chancer commentedI upgraded to D-6-10 and at the same time upgraded CCK and the Zen theme yesterday. I waited until yesterday becasue when the first of the three was flagged, due to the current passion for upgrades where minor patches would suffice within Drupal, I knew there would be at least a couple more very soon.
Since yesterday's reinstallations I've had the same problem as above, fixed thanks joostvdl, but I also lost navigation and login/logout in the admin interface. I was logged in at the time and have nowhere to log out. Luckily this site does not have "members" but it's a hell of a pain nonetheless. To get around I have the main admin page open, luckily, so I can get where I want to go but have to use the browser back button to get back before I can go anywhere else. To get there in the first place I go to mysite/admin and not mysite/user, which is crippled altogether.
Oddly, everything else works.
Comment #13
guidot commented@chancer: Please don't change the Issue title.
Comment #14
nikolajb commentedI'd really love to see an instruction or a tutorial for this, too. Anyone? Please?
Comment #15
akalata commentedClosing this old issue since the 6.x-2.x branch is out, and 7.x-3.x will soon be released.