Late last night I quietly released Usher, a new ExpressionEngine 2 add-on. When a site administrator logs into the Control Panel, Usher redirects him to the CP page of your choosing, based on his Member Group.
I’ve been using Usher on various client sites for several months, and it has proven very useful in taking members directly to the area of the Control Panel that interests them most.
For example, one of my client sites includes multiple “author” Member Groups, each assigned to a Channel. Usher takes each author directly to the Publish page for his assigned Channel.
There is another very good reason to use Usher, which applies even if you’re happy for all your site administrators to start their journey on the Control Panel home page. Namely, browser autocompletion.
Way back in mid-2010 I posted a bug report, detailing confusing behaviour and PHP errors caused by browsers autocompleting the CP URL. If you’re particularly interested, you can read the original bug report, and the related feature request for the full story.
For those of you with high-powered executive lifestyles, here’s the summary:
I can understand EllisLab’s position on this, to an extent. If a user’s session expires he will, in all likelihood, want to return to the same page when logging back in.
However, as I stated in the feature request thread, everybody has to log in to the CP at some point, and ensuring that experience is predictable and not confusing is far more important than dealing with expired sessions. It could also be argued that the new logged out “overlay” in EE2 makes this less of an issue.
As you’ll have gathered, my feature request was politely declined.
I retired to my code editor, muttering darkly about how they wouldn’t be so dismissive if I was Brandon-bloody-Kelly, and set about writing an extension to fix this undesirable behaviour. This is the reason extension hooks exist, after all.
And so Usher was born, and I was finally able to pacify my weeping clientele.