TypoScript

Plugin settings

This section covers all settings, which can be defined in the plugin itself.

Properties

Property Title Sheet Type
cacheDirectoryPath Cache directory path General string
suffix Route Location Path General string
redirect.loginPage PageId that contains Login Form General int

cacheDirectoryPath

Property

cacheDirectoryPath

Data type

string

Description

Route configuration data could be cached and placed in specific directory. You can specify a directory if you need caching.

Note

If set, any route changes will be available after deleting the cache file manually!

suffix

Property

suffix

Data type

string

Description

By default route extension scans user-defined routes under the EXT:my_extension/Configuration/

:typoscript:`plugin.tx_routes.settings.suffix = /Configuration`

redirect.loginPage

Property

redirect.loginPage

Data type

int

Description

Should point to page which contains login form. When route uses auth middleware and user is not logged in while performing the request, redirection to login page is taking place.

Note

Redirection takes place only if request does not have Accept: application/json.