Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

upload.ini [LocationSettings]

The settings of [LocationSettings] in upload.ini: ClassList, RootNode, MaxDepth, MaxItems

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/upload/LocationSettings.md

On this page

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.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/upload.ini.append.php for one siteaccess,
  • extension/<extension>/settings/upload.ini.append.php in 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# settings/override/upload.ini.append.php
[LocationSettings]
MaxItems=30
*/ ?>

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x