-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark Phillips wrote: > I need to make a small change to ATVocabularyManager. Specifically, I > need a simple vocabulary value to be longer than 32 characters; ie a > TextField and not a StringField for the value of the key-value pair. > What is the "right" way to make this change - copy ATVocabularyManger to > MyATVocabularyManger, make the change to simple.py and install > MyAtVocabularyManger? Or is there a way to "extend" the product as I can > extend a class and just change the schema for simple.py? Not sure how I > would do the second option.
For modify AT schemas of other add-ons: use archetypes.schemaextender (possibly only for Plone 3+). Otherwise use collective.monkeypatcher or write your own content-types by using subclassing. - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkvqJGUACgkQCJIWIbr9KYzHTQCgjqOdVy/womjzMiFrm47lz8b9 KVcAn38b2izYBxgvnYD35QREW5WNXdC8 =/WO4 -----END PGP SIGNATURE-----
<<attachment: lists.vcf>>
_______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
