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 [RelatedObjectUpload]

The settings of [RelatedObjectUpload] in upload.ini: ReturnType

Download as PDF

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

On this page

upload.ini [RelatedObjectUpload]

The block [RelatedObjectUpload] of settings/upload.ini, with 1 setting(s).

Example of action, the group name is named just what the action is named
[ExampleAction]

The navigation part to use for the page (optional)

NavigationPartIdentifier=ezcontentnavigationpart

The type of the return values, possible values are:

NodeID - Returns the node ids of the selected items

ObjectID - Returns the object ids of the selected items

ReturnType=NodeID

An array with nodes where the object should be placed (optional)

Each entry is either an alias or the node ID.

Aliases can be defined in the AliasList variable at the top of this file

or one of the system defined aliases can be used.

The system defined aliases are:

content, users, media, setup

ParentNodes[]
ParentNodes[]=media
Action used when uploading a new file as related object

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).

ReturnType

Default: ObjectID.

<?php /* #?ini charset="utf-8"?
# settings/override/upload.ini.append.php
[RelatedObjectUpload]
ReturnType=ObjectID
*/ ?>

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