I'm running Umbraco 6.1.6 on IIS 7 (Windows 2008). I've installed Cultiv EnvironmentIndicator v1.0.2. The .dll is present in the /bin directory, the .browser file is present in the /App_Browsers directory, and I've added the following appSettings key to the web.config:
<add key="environment" value="dev" />
I'm not seeing any errors, but I'm also not seeing the indicator?
Any reason why it wouldn't work on Umbraco 6.1.6?
I'm running Umbraco 6.1.6 on IIS 7 (Windows 2008). I've installed Cultiv EnvironmentIndicator v1.0.2. The .dll is present in the /bin directory, the .browser file is present in the /App_Browsers directory, and I've added the following appSettings key to the web.config:
I'm not seeing any errors, but I'm also not seeing the indicator?
Also, I checked your assembly code with .NET Reflector, and I noticed a small type-o:
string str4 = string.Format("<div style=\"height: 3px; widht: 100%; background-color: {0};\"><span style=\"font-size: 1px; line-height: 1px;\"> </span></div>", str3);"widht: 100%" should be "width: 100%".
To make the package work in Umbraco 6 the cultiv.environment.browser file should be updated:
<browsers> <browser refID="Default"> <controlAdapters> <adapter controlType="Umbraco.Web.UI.Pages.UmbracoEnsuredPage" adapterType="Cultiv.EnvironmentIndicator.IndicatorAdapter" /> </controlAdapters> </browser> </browsers>is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.