ajung wrote: > > -----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 >
Is it true that archetypes.schemaextender is only for plone 3+? We had been using it on Faculty/Staff Directory back in plone 2.5. Perhaps this is an issue of finding a version that will work with 2.5? c -- View this message in context: http://plone.293351.n2.nabble.com/Best-way-to-Extend-a-Product-to-Make-Small-Change-tp5038580p5046725.html Sent from the Product Developers mailing list archive at Nabble.com. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
