DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

TypoScript

This chapter describes the TypoScript configuration that applies to "displaycontroller".

Properties

redirect

Data type
Redirection configuration
Description
Use this configuration to redirect the process to some other page, based on a condition.

listView

Data type
List view configuration
Description

Configuration for the list view. This is generally default values that may be superseded by GET/POST parameters.

Note

Usage of the default list view is deprecated and will be dropped in a future version.

detailView

Data type
Detail View Configuration
Description

Configuration for the detail. Currently this is just about setting a different keyword for the RealURL postVarSets (see "RealURL" below).

Note

Usage of the default detail view is deprecated and will be dropped in a future version.

Redirection configuration

enable

Data type
boolean / stdWrap
Description
Enable the redirection mechanism at all (redirection still depends on the condition below)

condition

Data type
if
Description

Condition for the redirection to take place. Note that you have the following data available:

  • the total count of records in the SDS in a register called "sds.totalCount"
  • the count of records in the SDS in a register called "sds.count"
  • the data in the first record of the SDS, loaded in the content object (and thus available with the "field" syntax in the getText function)

url

Data type
typolink
Description
URL to redirect to. Note that data from the first record of the SDS is available here too, as described above.

List view configuration

limit

Data type
int
Description
Maximum number of records to display
Default
10

sort

Data type
string
Description
Field name for default sorting of results. Syntax is similar to SQL, i.e. tablename.fieldname (table name can be omitted)

order

Data type
string
Description
Default ordering of records. Acceptable values are asc or desc.

Detail View Configuration

postVarSets

Data type
string
Description
Name of the key that defines the postVarSets configuration for RealURL.
Default
item