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.
Other examples¶
Defining page title automatically¶
Example 1: defining the page title according to a field value, useful for a detail view. Make sure, "Display Controller (cached)" is defined. Otherwise, "substitutePageTitle" will have no effect.
plugin.tx_templatedisplay {
substitutePageTitle = {title} - {field_custom}
}
Setting the page browser parameters¶
plugin.tx_templatedisplay {
pagebrowse {
templateFile = fileadmin/templates/plugins/pagebrowse/template.html
enableMorePages = 1
enableLessPages = 1
pagesBefore = 3
pagesAfter = 3
}
}