Error using your own themes

Vote:
 
If you get the error: "Using themed css files requires a header control on the page" Open /ui/edit/switchlanguage.aspx and set the Theme to blank: <%@ page language="c#" codebehind="SwitchLanguage.aspx.cs" autoeventwireup="False" inherits="EPiServer.UI.Edit.SwitchLanguage" theme="" %> This happens when you use a theme on your site, and specify the theme in the element in web.config. This will enforce the theme on all the parts of the web site, even though edit and admin will use its own. /Steve
#15652
Mar 25, 2008 18:58
Vote:
 
Actually, there are more than one file with this error. As a work around, change the theme for the UI directory in web.config to use a "blank" theme: There are problems with the right click menu, and probably other areas too when you use your own theme. But this workaround will at least get you past the crashes. /Steve
#16060
Mar 25, 2008 19:07
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.