Where to set "insert object" automatic location?

Author Message

Oliver Frommel

Thursday 25 September 2008 3:04:52 am

Hello there,

when you add an object in the online editor a small window pops up where you can choose to add an existing object or upload a new one. After you click on "Upload New" a new form appears where you can choose from a dropdown called "Location" where the first entry is "Automatic". My question is, where can I configure that default location for a certain site access? We obviously didn't and now everything gets dropped into the site access root which obviously is not what we want.

Thanks
Oliver

Dirk Lampe

Tuesday 21 October 2008 7:33:04 am

Hello Oliver,

look at

http://ez.no/de/developer/forum/suggestions/uploaded_object_default_location

and

http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/content_ini/relationassignmentsettings/defaultassignment

[RelationAssignmentSettings]
# Default assignment for new related objects, possible values are
# - A Node ID - Place all new objects under this node
# - A node path - The placement of the parent node by a path, e.g. media/files
# - root - The root of the tree
# - users - The root of the user tree
# - media - The root of the media tree
# - none - DEPRECATED
# 
# Multiple assignments are not allowed.
DefaultAssignment=root
# Automatic assignments for specific classes.
#
# Each line consists of three or two values separated by semi-colon.
# First two values are lists of elements which are comma separated.
#
# First value is the class identifier, second is the assignment (see above for
# values). An optional third is the main node in case you upload to many
# locations. If the third parameter is not set, then the first element of
# the value 2 will be used as main node.
#
# 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.
#
# If the same class is specified in many lines, then will be used the first
# match where user has an access to all listed nodes.
#
ClassSpecificAssignment[]
ClassSpecificAssignment[]=user,user_group;users/guest_accounts
ClassSpecificAssignment[]=image;media/images
ClassSpecificAssignment[]=video;media/multimedia
ClassSpecificAssignment[]=file;media/files
ClassSpecificAssignment[]=quicktime;media/multimedia
ClassSpecificAssignment[]=windows_media;media/multimedia
ClassSpecificAssignment[]=real_video;media/multimedia
ClassSpecificAssignment[]=flash;media/multimedia
#ClassSpecificAssignment[]=image;33,37;37
#ClassSpecificAssignment[]=match;node1,node2;main_node

Good luck,
Dirk

JAC Systeme GmbH
Germany (Stralsund, Rostock, Berlin)

- CM-Systems (www.jac-systeme.de)
- Ticketsolutions (www.simpleticket.de)








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