TypoScript Setup Reference

plugin.tx_ajaxselectlist

Properties

Property Data type Default
view.templateRootPaths array of file paths with stdWrap array with fallback path and constant value
view.partialRootPaths array of file paths with stdWrap array with fallback path and constant value
view.layoutRootPaths array of file paths with stdWrap array with fallback path and constant value
persistence.storagePid page_id {$plugin.tx_ajaxselectlist.settings.storagePid}
persistence.recursive positive integer {$plugin.tx_ajaxselectlist.settings.recursive}
settings.typeNum positive integer {$plugin.tx_ajaxselectlist.settings.typeNum}

Property details

view.templateRootPaths

Property

view.templateRootPaths

Data type

array of file paths with stdWrap

Description

Array of paths to the templates for this extension. See Changing Templates how to use this.

Default

view.templateRootPaths {
   0 = EXT:ajaxselectlist/Resources/Private/Templates/
   1 = {$plugin.tx_ajaxselectlist.view.templateRootPath}
}

view.partialRootPaths

Property

view.partialRootPaths

Data type

array of file paths with stdWrap

Description

Array of paths to the partials for this extension. See Changing Templates how to use this.

Note

By default no partials are used by this extension. You’re free to add some.

Default

view.partialRootPaths {
   0 = EXT:ajaxselectlist/Resources/Private/Partials/
   1 = {$plugin.tx_ajaxselectlist.view.partialRootPath}
}

view.layoutRootPaths

Property

view.layoutRootPaths

Data type

array of file paths with stdWrap

Description

Array of paths to the layout for this extension. See Changing Templates how to use this.

Default

view.layoutRootPaths {
   0 = EXT:ajaxselectlist/Resources/Private/Layouts/
   1 = {$plugin.tx_ajaxselectlist.view.layoutRootPath}
}

persistence.storagePid

Property

persistence.storagePid

Data type

page_id

Description

Comma-separated list of pages (UIDs) which contain records for this extension.

Default

{$plugin.tx_ajaxselectlist.view.storagePid}

persistence.recursive

Property

persistence.recursive

Data type

positive integer

Description

The number of subpage levels which are searched for records. Starting point are the page(s) that were set with storagePid or in the plugin form field Record Storage Page.

0 or empty = disable recursive mode

Default

{$plugin.tx_ajaxselectlist.view.recursive}

settings.typeNum

Property

settings.typeNum

Data type

positive integer

Description

This determines the PAGE object that will be used to render the result of the Ajax call.

Attention

Currently this setting is only used in the Fluid f:form Viewhelper. If you have to change it, you’ll have to set the new typeNum in the PAGE object separately. This may be fixed in future versions.

Default

{$plugin.tx_ajaxselectlist.settings.typeNum}

PAGE object

This is used to render the return of the Ajax call. As TYPO3 would generate header code for every PAGE object and we only need the record’s content, we strip it from all unnecessary code and deactivate the caching.

Attention

For now, the typeNum isn’t loaded with the same TypoScript constant which fills the setting above, because it would result in an error. This may be fixed in future versions.

Anyway, it is very unlikely that you need to change the typeNum to prevent a conflict with another PAGE object.

ajaxselectlist_page = PAGE
ajaxselectlist_page {
    typeNum = 427590

    config {
        disableAllHeaderCode = 1
        additionalHeaders = Content-type:application/html
        xhtml_cleaning = 0
        debug = 0
        no_cache = 1
        admPanel = 0
    }

    10 < tt_content.list.20.ajaxselectlist_selectlist
}