HELP... Related Objects/RelationAssignmentSettings

Author Message

Björn [email protected]

Monday 01 September 2003 7:19:27 pm

When creating a new related object it get defined to the settings in the "RelationAssignmentSettings" from the content.ini

But how can I tell eZ publish to assign this new related object as a child (tree) to the current object created before? Without letting the user choose its destination? The configuriugn options below seem pretty static to me.

THANKS in advance

----------schnipp---------------
[RelationAssignmentSettings]
# Default assignment for new related objects, possible values are
# - A Node ID - Place all new objects under this node
# - root - The root of the tree
# - users - The root of the user tree
# - none - Do not place anywhere, the user must then fix the assignment before publishing
# Multiple assignments are separated with commas.
DefaultAssignment=2
# Overrides for specific classes.
#
# Each entry is a list of comma separated values, the first is the match
# and the second is the assignment (see above for values)
#
# Classes are either specified with identifier, ID or group_ID
# The items are searched in order so the first to match will be used,
# this means that class IDs should come before class group IDs.
ClassSpecificAssignment[]
ClassSpecificAssignment[]=user,user_group;users
#ClassSpecificAssignment[]=image;33,37;37
------------ schnapp------------------

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Kai Duebbert

Friday 05 September 2003 2:12:02 am

See: http://www.ez.no/developer/ez_publish_3/documentation/customization/components/datatypes/ezobjectrelation/selecting_related_objects_with_dropdown_boxes_checkboxes_etc

You would use hidden form fields instead of a dropdown box. Play with it and you'll see that it solves your problem.

Kai

Stuart Fenton

Sunday 22 February 2004 11:34:54 am

I am attempting to do the same thing. Did you get a solution in your attempts with adding hidden fields to direct the creation of new content?

Any help you could give would be greatly appreciated.

Thanks
Fats

-- Stuart

[email protected]
http://www.grandmore.com

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