content.ini [RelationAssignmentSettings]
The block [RelationAssignmentSettings] of settings/content.ini, with 2 setting(s).
Never edit settings/content.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/content.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/content.ini.append.phpfor one siteaccess,extension/<extension>/settings/content.ini.append.phpin an extension (read when the extension is active).
DefaultAssignment
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.
Default: root.
# settings/override/content.ini.append.php
[RelationAssignmentSettings]
DefaultAssignment=root
*/ ?>ClassSpecificAssignment
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.
Default: a list of 8: user,user_group;users/guest_accounts, image;media/images, video;media/multimedia, file;media/files, quicktime;media/multimedia, windows_media;media/multimedia, real_video;media/multimedia, flash;media/multimedia.
# settings/override/content.ini.append.php
[RelationAssignmentSettings]
# an empty "ClassSpecificAssignment[]" first replaces the shipped list; without it the items are added
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
*/ ?>Related
Generated by ./console exp:help:examples from settings/content.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.