Author
|
Message
|
Paul Borgermans
|
Friday 04 July 2003 12:18:06 pm
The docs can do it, so its somewhere hidden in the 3.1 release? I mean relating objects/documents with the same keyword(s) Very curious! --paul
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|
Paul Borgermans
|
Monday 07 July 2003 7:18:49 am
Thanks to Bård, I added a small document about this in the template section: http://ez.no/developer/ez_publish_3/documentation/customization/templates/
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|
Paul Forsyth
|
Monday 07 July 2003 7:53:41 am
How do you associate the related objects with keywords? Is this an automatic step when a keyword is entered? Paul
|
Paul Borgermans
|
Monday 07 July 2003 7:56:10 am
>How do you populate the related objects with keywords? Is this >an automatic step when a keyword is entered? Yes, keywords are stored with the id's of the objects in which they are defined. You have to add the keywords to each object manually. So it is not a related object as with the related object type. --paul
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|
Paul Forsyth
|
Monday 07 July 2003 8:28:37 am
If i have this right... An object has a special link a template can access through: *.object.data_map.keywords.content.related_objects which points to the ezkeyword table in some way to relate those objects with the same keyword. I dont have db access at the moment so cant confirm it but is this sort of the way it works? paul
|
Paul Borgermans
|
Monday 07 July 2003 8:35:17 am
two tables yes:
"ezkeyword" contains the keywords "ezkeyword_attribute_link" contains keyword id's and object id's It is not an intrinsic property of an object, but has to be defined as an attribute in the object class definition. --paul
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|
Paul Forsyth
|
Monday 07 July 2003 8:39:52 am
I understand how to use keywords. My current project is using them and they've been very useful. Thanks, i was needing to understand how keywords were used in this special way. So the kernel associates the '.related_objects' extension with other objects with the same keyword. Will be interesting to use this :) paul
|
Georg Franz
|
Monday 14 July 2003 4:27:03 am
Hi,
the page has been moved, the new url is http://ez.no/developer/ez_publish_3/documentation/customization/components/datatypes/ezkeyword/automatic_object_relation
Kind regards, Emil.
Best wishes,
Georg.
--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004
|