It's not something that's set up out-of-the-box because unlike WordPress, for example, you don't have a set of fields in common. This would be quite easy to set up in your CMS however.
Without thinking about it too much, I'd create a site setting that has a dropdown which allows you to choose the theme name.
Then in your views folder, create a folder for each theme. All you'd need to do in your template then, is use the theme name to get the relevant CSS and if your markup changes, use the theme name again to get the relevant partial from the correct folder.
You can probably get a little smarter but hopefully it should give you a starting idea to get you on your way.
Not really out of the box. However, Umbraco does allow you to run multiple websites using the same Umbraco install (though, that may not have been exactly part of your question).
We were able to do separate themes for these two sites that are hosted on the same Umbraco install:
IIRC, we mainly just have a drop down for the theme, then we output a reference to the CSS file appropriate to that theme on the page, and everything will be styled accordingly.
There are some theme-specific widgets and other nuances of that sort to worry about, but that's the short version.
To add to this, it also depends on how different your themes are, if it is simply color palette, its pretty easy to do with stylesheets; we do that now on upventur.com (light vs dark).
We are building towards themes with different layouts, though that is a bit more complex and requires more lifting in the backend to get it working.
If you haven't looked at uskinned, you should - their products are pretty good, and you could use them as a starting point.
Does Umbraco support development of themes like PHP CMS (Drupal, WordPress)?
The question I have is it possible to develop a two themes for one website and use one content with each theme?
Hi Nikolay,
It's not something that's set up out-of-the-box because unlike WordPress, for example, you don't have a set of fields in common. This would be quite easy to set up in your CMS however.
Without thinking about it too much, I'd create a site setting that has a dropdown which allows you to choose the theme name.
Then in your views folder, create a folder for each theme. All you'd need to do in your template then, is use the theme name to get the relevant CSS and if your markup changes, use the theme name again to get the relevant partial from the correct folder.
You can probably get a little smarter but hopefully it should give you a starting idea to get you on your way.
Thanks,
Ben
Not really out of the box. However, Umbraco does allow you to run multiple websites using the same Umbraco install (though, that may not have been exactly part of your question).
We were able to do separate themes for these two sites that are hosted on the same Umbraco install:
IIRC, we mainly just have a drop down for the theme, then we output a reference to the CSS file appropriate to that theme on the page, and everything will be styled accordingly.
There are some theme-specific widgets and other nuances of that sort to worry about, but that's the short version.
There is also a sort of theme marketplace from one company: https://uskinned.net/
I don't know that they can be used with multiple sites in the same install (might be that they can), but at least they're quick to install/configure.
To add to this, it also depends on how different your themes are, if it is simply color palette, its pretty easy to do with stylesheets; we do that now on upventur.com (light vs dark).
We are building towards themes with different layouts, though that is a bit more complex and requires more lifting in the backend to get it working.
If you haven't looked at uskinned, you should - their products are pretty good, and you could use them as a starting point.
is working on a reply...