It's a great idea, but would it be possible to implement the ability to select which usertypes the indicator should shown for? I normally just log on with the default admin user, which is a Administrator usertype and not admin usertype. Therefore is doesn't work OOB.
Ah, it's weird, try removing the cultiv.environmentindicator.dll from the bin folder, does it give you an error if you reload /umbraco/umbraco.aspx?
Re-adding the .dll file should make it work then.
If you don't get the error: Are you on IIS5? I haven't tested that version, maybe IIS6 doesn't understand the .browser files in App_Browsers? Of course, also check if the cultiv.envirnmentindicator.browser file is available in App_Browsers.
I'm on IIS 7 (Windows 2008 R2) and the cultiv.envirnmentindicator.browser was actually missing on both sites I installed it on (Umbraco 4.5.2). I copy the file into App_Browsers and recycled the apppool and now it works. I think there's a bug in the installation.
Possibility of adding usertypes
Hi
It's a great idea, but would it be possible to implement the ability to select which usertypes the indicator should shown for? I normally just log on with the default admin user, which is a Administrator usertype and not admin usertype. Therefore is doesn't work OOB.
/Bo
It should work OOB then, because that is what I do! :-)
I'm looking at the logged in user and getting th userType.alias, which is admin in default installs.
But I do like the idea of making the user type configurable, it's going on the todo list, thanks!
You are actually right ;) but it doesn't work on the site I tried it on. I even tried to set the environment variable on web.config without luck.
Ah, it's weird, try removing the cultiv.environmentindicator.dll from the bin folder, does it give you an error if you reload /umbraco/umbraco.aspx?
Re-adding the .dll file should make it work then.
If you don't get the error: Are you on IIS5? I haven't tested that version, maybe IIS6 doesn't understand the .browser files in App_Browsers? Of course, also check if the cultiv.envirnmentindicator.browser file is available in App_Browsers.
Hi
I'm on IIS 7 (Windows 2008 R2) and the cultiv.envirnmentindicator.browser was actually missing on both sites I installed it on (Umbraco 4.5.2). I copy the file into App_Browsers and recycled the apppool and now it works. I think there's a bug in the installation.
Thx
Ahhh. It's actually a rights problem. The apppool user only have read rights to app_browser folder - that why it didn't get copied.
Ah yes, I'll update the documentation as App_Browsers might not be something that users will generally remember to give rights to.
Might need to build some detection for this into the installer then. Thanks for getting to the bottom of this!
is working on a reply...