Please login or register to participate.
Discussion
.
rsprattling Mar 18, 2010 04:44 AM
Hello, folks. Does the Cyn.in data model support extension of existing content classes? For instance, can I add metadata attributes to the image object model, and reflect those added attribute in the controller and view? Can I create new content classes, such as a composite class that aggregates a document file with any required image files, and have such objects managed physically as ZIP or TAR files? I realize this requires development, but my main question is: Does the framework's data model readily support such extensions? Thanks.
Replies (2)
pigeonflight Mar 18, 2010 11:09 PM
It should be possible to extend Cyn.in content types using the archetypes.schemaextender add-on.
dhiraj Mar 19, 2010 09:27 AM
Yes we're already using archetypes.schemaextender so extend away. Do be careful with the extending though - I'd recommend making new inherited Archetypes content types, and then customizing the Cyn.in templates to display these content types as well, instead of straight away adding fields to the original Cyn.in content types.

If you do it this way, then you'll hopefully be able to retain future upgrade compatibility with our updates, when we add stuff to them.
 
Loading