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.

Comments

Anonymous’s picture

Status: Active » Fixed

There 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.

Jorrit’s picture

But 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.

Anonymous’s picture

You can disable sweaver but that's all you can do.

Anonymous’s picture

There 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.

Jorrit’s picture

Thanks 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?

Anonymous’s picture

I can update the dev version with your patch but a stable version is not planned for a while.

Jorrit’s picture

StatusFileSize
new4.25 KB

Here is my patch.

Anonymous’s picture

Sorry 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 ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.