Moving keywords(subjects) in plone
In plone, one of the fundamental UI issues I have/had was the Keywords list was on the Properties form. So you would have to save you document, then goto properties select your keywords, then save again. Putting it at the bottom of the edit form would be far more useful, and useable. So, here is the monkey patch I’ve written to move the keywords (subject) properties to the edit form. This is implemented in the Archer product I produced for work.
from Products.ATContentTypes.content import document, file, link, event
document.ATDocumentSchema['subject'].schemata = 'default'
document.ATDocumentSchema.moveField('subject', before='relatedItems')
file.ATFileSchema['subject'].schemata = 'default'
file.ATFileSchema.moveField('subject', before='relatedItems')
link.ATLinkSchema['subject'].schemata = 'default'
link.ATLinkSchema.moveField('subject', before='relatedItems')
event.ATEventSchema['subject'].schemata = 'default'
event.ATEventSchema.moveField('subject', before='relatedItems')
Powered by ScribeFire.
3 Comments »
Leave a comment
-
Archives
- July 2009 (1)
- February 2009 (1)
- December 2008 (1)
- November 2008 (1)
- October 2008 (2)
- September 2008 (1)
- August 2008 (1)
- April 2008 (2)
- February 2008 (4)
- January 2008 (2)
- November 2007 (1)
- October 2007 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS
[...] Moving keywords(subjects) in plone [...]
Pingback by plonewars.com - » Moving keywords(subjects) in plone | May 31, 2007 |
[...] Moving keywords(subjects) in plone « Simbiosis By Yoda Moving keywords(subjects) in plone « Simbiosis [...]
Pingback by plonewars.com - » Moving keywords(subjects) in plone « Simbiosis | June 4, 2007 |
Excellent blog and very interesting information. And the information actual for today? http://pis-dec.ru/mapp.html