Wednesday 12 April 2006 3:26:57 am
Hello,
I am going to create custom content types for my EzPublish site and these content types are related together. If I had to do it with a database, I would have used a table for each content type and foreign keys or relation tables ... But in the object model of eZPublish, it must be different.
For exemple, If use the 'article' 'content type' and create a type which is a presentation of a division
of my company.
The division 1 has articles related with and the division 2 has other articles related to. But sometimes, an article can be related to many different divisions. I think I can use related_objects and related_objects_list. Am I in the right way ? Are there some limitations I have to know ?
Does somebody knows a tutorial which explain how to create content types and relations starting from a generic data model (like UML ...) ? Many thanks for help
|