upload.ini [LocationSettings]
The block [LocationSettings] of settings/upload.ini, with 4 setting(s).
Never edit settings/upload.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:
settings/override/upload.ini.append.phpfor every siteaccess,settings/siteaccess/<siteaccess>/upload.ini.append.phpfor one siteaccess,extension/<extension>/settings/upload.ini.append.phpin an extension (read when the extension is active).
ClassList
A list of class identifiers that should be included in the location dropdown
Default: a list of 1: folder.
# settings/override/upload.ini.append.php
[LocationSettings]
# an empty "ClassList[]" first replaces the shipped list; without it the items are added
ClassList[]
ClassList[]=folder
*/ ?>RootNode
Which root node to fetch locations from
Either use a node ID or a node path (e.g. media )
- content - The content structure
- users - The user tree
- media - Media tree for images, files and media
Default: media.
# settings/override/upload.ini.append.php
[LocationSettings]
RootNode=media
*/ ?>MaxDepth
The maximum number of levels to look for objects
A depth of 1 means direct descendants
Default: 3.
# settings/override/upload.ini.append.php
[LocationSettings]
MaxDepth=3
*/ ?>MaxItems
The maxium number of elements in the drop down
Setting it too high might slow down the system and make the dropdown hard to use.
A number between 10 to 30 is OK.
Default: 30.
# settings/override/upload.ini.append.php
[LocationSettings]
MaxItems=30
*/ ?>Related
Generated by ./console exp:help:examples from settings/upload.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.