Otherwise, install a start kit and look in your /MasterPages/ directory you should see a folder withe the skin name and an xml file which can show you how the starter kits are skinned.
Actually, if it's just two themes, how will these be changed?
If it's just the CSS files that are different you can just add a DocType property to let the user change between the "themes" by changing the style sheet.
Use the above datatype let the user select which CSS file the user wants and then in your XSLT, Razor or masterpage simply render the link to the selected stylesheet.
Of course you can do this many ways, all your really doing is asking the user to set the style and then rendering out a different stylesheet.
Skins and themes
Hi
i neeed to create provision where user can change skin and themes .. how to go about it
Hi,
Umbraco already has skinning built in, if you have Umbraco TV you can read all about it here http://umbraco.com/help-and-support/video-tutorials/umbraco-fundamentals/creating-a-skin-for-umbraco/creating-the-skin-package
Otherwise, install a start kit and look in your /MasterPages/ directory you should see a folder withe the skin name and an xml file which can show you how the starter kits are skinned.
Rich
Hi rich,
How can i make the user to change the theme like the content in umbraco back office.. is there any sample or package to do it???
Hey,
Lets be clear here.
Are you looking to skin the Umbraco back office, or skin the front end site?
Rich
I need to skin the front end site... say there will be two themes.. where user can choose any one theme.. am i clear
Hey,
Then the link in my first post and information is relevant and should be everything you need?
Rich
Actually, if it's just two themes, how will these be changed?
If it's just the CSS files that are different you can just add a DocType property to let the user change between the "themes" by changing the style sheet.
Rich
s.. thats wat i need.. user changing between themes by changing the stylesheet.. how this can be done...
Hey,
It should be quite straightforward.
Add the two different stylesheets to your /css directory.
Install uComponents and use the http://ucomponents.codeplex.com/wikipage?title=FilePicker&referringTitle=Documentation and watch the screencast.
Use the above datatype let the user select which CSS file the user wants and then in your XSLT, Razor or masterpage simply render the link to the selected stylesheet.
Of course you can do this many ways, all your really doing is asking the user to set the style and then rendering out a different stylesheet.
Does that make sense?
Rich
Thanks rich,
I got it.
is working on a reply...