Hello
I am trying to provide the ability for my customer to change the text color easily. I created a new appconfig that accepts the name of the css file which contains the hex code for the color. Then, I tried to call this appconfig value in the masterpage in a <link>. This is the code:
<link href="../../App_Templates/Skin_1/css/<% Tokens:AppConfig2, SiteDisplay.seasonalText %>.css" type="text/css" rel="stylesheet" runat="server" />
All four css files with the color would be in the Skin_1/css directory. So if the value of "seasonalText" is "blue" then the above should in turn get blue.css. I was advised however, that skin tokens within links wouldn't work -- that I'd have to use an AppConfig to determine which CSS sheet to use for the entire skin, not within an individual link. Can anyone provide clarification? Or advice on some other way to allow my customer to change the color easily? One work-around is to create four different skins, each containing the different seasonal colors and then my customer can just choose the skin, but that seem like a poor solution since we'll be duplicating many times a lot of files. Thanks for help in advance!
Phil