Object Classification

Object Classification

Thursday 10 April 2003 9:32:12 am - 2 replies

Author Message

Peter Bailey

Thursday 10 April 2003 11:17:46 am

Any given content object can exists in multiple locations. You can have a folder for each classification, and include the article in to any folder that applies.

Would that work?

(there may be another way, I'm no eZp whiz)

Jan Borsodi

Friday 11 April 2003 6:03:14 am

You can use regular objects for classifications, for instance you could create a topic and country class which holds the information on each type. You then create a folder for topics and countries and place objects in them.

For editing objects you use something called remote IDs for placements, this means that for a specific remote ID a placement node ID is stored. Practically this means that you could display a dropdown with values taken from the topic or country list and let the user choose one of them.
When the object is published it will be placed in the selected nodes.

The only thing you need to do for this is an override template for the classes that require classification. See design/standard/template/content/edit_placement.tpl for an example of this, there's some commented code at the top.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.