I have made a style for my site that I have activated (published). Now I want to deactivate the style, but keep it available for activation later. What is the right way to do this? The only way that I have found is to create a new empty style and then delete that one, making all styles inactive.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | sweaver-enable-disable-1543116-7-d6.patch | 4.25 KB | Jorrit |
Comments
Comment #1
Anonymous (not verified) commentedThere is actually a very simple way to do so.
Load the style "Fresh style", it will clear your site of any modification and then "save and publish" the result to a new name.
Comment #2
Jorrit commentedBut isn't that what I described? This means that I always need to have a kind of "empty" style as default. I just wanted to have no style activated.
Comment #3
Anonymous (not verified) commentedYou can disable sweaver but that's all you can do.
Comment #4
Anonymous (not verified) commentedThere is also the possibility to go into the DB and to all styles that match your current theme change active field to 0.
I just put a new feature into Sweaver-7.x-1.x to do this throw the interface.
Comment #5
Jorrit commentedThanks for this enhancements. My guess is that you will not backport this to the Drupal 6 version. If I provide a patch for this, are you willing to commit it to 6.x-1.x and make a new release?
Comment #6
Anonymous (not verified) commentedI can update the dev version with your patch but a stable version is not planned for a while.
Comment #7
Jorrit commentedHere is my patch.
Comment #8
Anonymous (not verified) commentedSorry for the delay I wanted to review your patch before pushing it. It's been very difficult to find time but everything seems in order. So to put in a nutshell thank you Jorrit for your contribution and if you want to contribute more be aware that we would be more than happy to have someone to work on Sweaver-6.x or even on Sweaver-7.x.
Let me know if you are willing to do more ;)