MUnderscorePatch - tired of typing manage_main?

29 November 2006   0 comments   Zope

Mind that age!

This blog post is 14 years old! Most likely, its content is outdated. Especially if it's technical.

I often use the Zope management interface but not to do much ZMI like stuff. Just simple things like creating new base objects, changing properties or testing a change to a template. For some reason I seem to lack the ability to spell the word manage_main. I can't remember how many times I've accidently typed manage-main , mange_main, manag_main, manage)_main etc.

There's got to be an end to that! Hence the MUnderscorePatch monkey patch. Now, all I have to do is to type in m_ at the end of the URL and it becomes the same as manage_main. Ie. I go to http://localhost:8080/ then I append m_ so that it becomes http://localhost:8080/m_ and it redirects automatically to http://localhost:8080/manage_main

Silly but actually quite useful for me. Want to download it too?


Your email will never ever be published

Related posts

Entering multilanguage data in Zope 26 November 2006
Solar power in the north African desert 29 November 2006
Related by Keyword:
When '_properties' gets stuck as a persistent attribute 01 October 2008
EditArea vs. CodePress 03 January 2008
DateIndex in Zope doesn't have indexed attributes 28 October 2007