Re: Our story for re-using content types
Martin Aspeli <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
Maurits van Rees-2 wrote:
> Way number 6:
>
> Add a new Product AAAPatch (Triple-A Patch, alternatively called
> AAAMonkey) with an __init__.py of two lines, in our case:
>
> from Products.Archetypes.ExtensibleMetadata import
> ExtensibleMetadataSchema
> ExtensibleMetadataSchema['creators'].widget.visible = {'edit' : 'hidden',
> 'view' : 'visible' }
>
> Then makes sure this loads very early; that's why it is called
> AAAPatch. :)
>
I trust that was intended as a bitterly iroincal example of exactly the kind
of cruft I'm talking about :)
Martin
--
View this message in context: http://www.nabble.com/Our-story-for-re-using-content-types-t1386643.html#a3787783
Sent from the Archetypes - devel forum at Nabble.com.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642