Kenneth Colwell
|
Saturday 10 July 2004 4:58:02 pm
Hi, If I go to the media tab and upload a file the file is correctly set to section 3. If I upload a file as an "Related Object" to an article then the file is set to section 0. Does anyone have any hints as to how I can solve this problem? ezpub version 3.4.1 (3.4.1)
Thanks, Ken Colwell
|
Paul Borgermans
|
Monday 12 July 2004 12:50:46 pm
Ken, take a look at the settings in [RelationAssignmentSettings] in content.ini You may store them in a correct node-tree, and then they will inherit the correct section. If not, these files remain "nodeless" and also without a section assigned (unless you give them a correct node placement in the edit screen). Or are you using the objectrelationlist datatype? Correct me if I'm wrong .... -paul
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|
Kenneth Colwell
|
Monday 12 July 2004 1:50:58 pm
Hi Paul, This is what I've got in my content.ini:
[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;2876
ClassSpecificAssignment[]=file;2877
Do I have something wrong?
Thanks, Ken Colwell
|