1
Vote

Unable to select value from style drop down

description

The style drop shows in the toolbar and the hover changes the background of the arrow, but unable to select in chrome. In IE 9 the toolbar is not even visible, just the text area.

comments

pcoppney wrote Oct 22, 2012 at 4:00 PM

Maybe this helps

System.Web.HttpException was unhandled by user code
Message=The controller for path '/OrchardLocal/themes/Classic/styles/custom.css' was not found or does not implement IController.
Source=System.Web.Mvc
ErrorCode=-2147467259
WebEventCode=0
StackTrace:
   at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
   at Orchard.Mvc.OrchardControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) in C:\Users\Administrator\Documents\Visual Studio 2010\Projects\OrchardSouce\src\Orchard\Mvc\OrchardControllerFactory.cs:line 76
   at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
   at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
   at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<BeginProcessRequest>b__2()
   at System.Web.Mvc.SecurityUtil.<>c__DisplayClassb`1.<ProcessInApplicationTrust>b__a()
   at System.Web.Mvc.SecurityUtil.<GetCallInAppTrustThunk>b__0(Action f)
   at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust(Action action)
   at System.Web.Mvc.SecurityUtil.ProcessInApplicationTrust[TResult](Func`1 func)
   at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
   at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state)
   at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
   at Orchard.Mvc.Routes.ShellRoute.HttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) in C:\Users\Administrator\Documents\Visual Studio 2010\Projects\OrchardSouce\src\Orchard\Mvc\Routes\ShellRoute.cs:line 140
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
InnerException:

TheMonarch wrote Oct 22, 2012 at 4:46 PM

What theme are you using? There is a bug right now where I am using the Theme Name instead of the theme "location" to create the path to the custom.css file. You can workaround this for now by manually setting the "content_css" in the TinyMce options. If you are using 1.0.2 you can do this by overriding orchard-tinymce.js in your module and customizing the options.

Or you can override Body-Html.Editor.cshtml to set the ThemePath property there. I will fix this in the next release.