Configuration

Target group: Developers, Integrators

How to configure the extension. Try to make it easy to configure the extension. Give a minimal example or a typical example.

Minimal Example

  • It is necessary to include static template Clubdirectory (clubdirectory)

We prefer to set a Storage PID with help of TypoScript Constants:

plugin.tx_clubdirectory.persistence {
   # Define Storage PID where club records are located
   storagePid = 4
}

TypoScript Setup Reference

Property Data type stdWrap Default
pidOfMaps2Plugin int no null
pidOfDetailPage Comma separated list of page UIDs no null
list Array    
show Array    
pageBrowser Array    

Property details

pidOfMaps2Plugin

Example: plugin.tx_clubdirectory.settings.pidOfMaps2Plugin = 24

In our templates we link to this page, to show a detailed vaie of the location on a map.

pidOfDetailPage

Example: plugin.tx_clubdirectory.settings.pidOfDetailPage = 4

Here you can add one or a comma separated list of Storage PIDs where your club records are located.

show

Default: 64c for width and height

Example: plugin.tx_clubdirectory.settings.show.image.width = 120c

If you want, you can use this setting to show one or more images with a defined width and height in detail view.

list

Default: 100c for width and height of images and logo

Example: plugin.tx_clubdirectory.settings.list.logo.width = 150c Example: plugin.tx_clubdirectory.settings.list.image.width = 150c

You can use this setting to show one or more images with a defined width and height in list view.

pageBrowser

You can fine tuning the page browser

Example: plugin.tx_clubdirectory.settings.pageBrowser.itemsPerPage = 15 Example: plugin.tx_clubdirectory.settings.pageBrowser.insertAbove = 1 Example: plugin.tx_clubdirectory.settings.pageBrowser.insertBelow = 0 Example: plugin.tx_clubdirectory.settings.pageBrowser.maximumNumberOfLinks = 5

itemsPerPage

Reduce result of club records to this value for a page

insertAbove

Insert page browser above list of club records

insertBelow

Insert page browser below list of club records. I remember a bug in TYPO3 CMS. So I can not guarantee that this option will work.

maximumNumberOfLinks

If you have many club records it makes sense to reduce the amount of pages in page browser to a fixed maximum value. Instead of 1, 2, 3, 4, 5, 6, 7, 8 you will get 1, 2, 3…8, 9 if you have configured this option to 5.