Ben,
In your articles you mention theming can be accomplished via copying the default theme to a new folder and voila, you have a new theme.
With the new default theme, you reference href's differently such as in the master.Master:
../style/Common.css is now ~/themes/default/style/Common.css
Doesn't this screw up the ability to "cheap" copy a theme when you reference URL this way? Now to theme you have to go to each and every file and change all these references? Why the change?
Mark
Mark,
I noticed that last night as I actually ran into a problem when messing around with a theme. I'm thinking it was an oversight by Telligent but could be mistaken. the ../style/common.css still works so I don't think the change was done out of necessity.
It prob just got coded that way when telligent recoded it
Nick - nb development
mmonica:Doesn't this screw up the ability to "cheap" copy a theme when you reference URL this way? Now to theme you have to go to each and every file and change all these references? Why the change?
This was done to *ensure* that when the "Default" or "Lean and Green" that the theme renders properly even if the user's site theme is not the expected theme (Default -> Default or Lean and Green -> Lean and Green).
I'll be updating my post on creating new themes soon (early next week) to include information related to this issue.
Quick Question, is it possible for me to copy the default theme, rename it and play with it, without touching the default theme?
I tried copying the whole folder, edit theme.config (edited the name of the theme and the location of the files) but it seems the configuration doesn't apply when I choose the theme from my profile.
This is in CS 2007 (RTM) by the way. Thanks!
Did you copy the "default" theme folder, rename the copied folder to something else (like "mytheme")? Then you need to edit the theme.config, changing the xml node for theme (second line) title tag from "default" to your theme name. By copying the default folder you in effect are making a new theme. Once you rename it in both spots the theme is yours to mess with and will not mess up the standard default because that still exists in it's original folder.
Here is a link to Ben's original article on theming in CS2007. http://getben.com/archive/2007/02/15/creating-new-themes-in-cs2007.aspx
jasperjugan: Quick Question, is it possible for me to copy the default theme, rename it and play with it, without touching the default theme? I tried copying the whole folder, edit theme.config (edited the name of the theme and the location of the files) but it seems the configuration doesn't apply when I choose the theme from my profile. This is in CS 2007 (RTM) by the way. Thanks!
jasperjugan:Quick Question, is it possible for me to copy the default theme, rename it and play with it, without touching the default theme? I tried copying the whole folder, edit theme.config (edited the name of the theme and the location of the files) but it seems the configuration doesn't apply when I choose the theme from my profile. This is in CS 2007 (RTM) by the way. Thanks!
jasperjugan,
You are on the right path... however you need to make a few small modifications to the theme to make it independent. Check out this from my blog. Hopefully it helps point you in the right direction. Let me know if you have any questions and I'll be happy to help.
http://chumlyworldnews.com/blogs/twxztips/archive/2007/04/20/create-a-custom-theme.aspx
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com