Site settings and TypoScript constants 

The site set jweiland/glossary2 provides the following settings. Adjust them in module Site Management > Settings or in the file config/sites/<identifier>/settings.yaml of your site.

If you include the static template instead of the site set, set the values as TypoScript constants with the names listed below (for example glossary2.storagePid). The Constant Editor lists the constants under their names used before version 7.0.1 (for example plugin.tx_glossary2.persistence.storagePid). A constant with the new name takes precedence over the old one.

Changed in version 7.0.1

The TypoScript constants were renamed. They do not start with plugin.tx_glossary2 anymore, for example plugin.tx_glossary2.persistence.storagePid is now glossary2.storagePid.

Changed in version 7.1.0

Name Type Default
string EXT:glossary2/Resources/Private/Templates/
string EXT:glossary2/Resources/Private/Partials/
string EXT:glossary2/Resources/Private/Layouts/
string 0
int 0
int 10
glossary2.templateRootPath
Type
string
Default
EXT:glossary2/Resources/Private/Templates/

Path to your own template root. It is added to plugin.tx_glossary2.view.templateRootPaths with key 1.

glossary2.partialRootPath
Type
string
Default
EXT:glossary2/Resources/Private/Partials/

Path to your own partial root. It is added to plugin.tx_glossary2.view.partialRootPaths with key 1.

glossary2.layoutRootPath
Type
string
Default
EXT:glossary2/Resources/Private/Layouts/

Path to your own layout root. It is added to plugin.tx_glossary2.view.layoutRootPaths with key 1.

glossary2.storagePid
Type
string
Default
0

Comma-separated list of the storage folders (PIDs) which contain the glossary records, for example 21,45,3234. The value is used for plugin.tx_glossary2.persistence.storagePid.

Changed in version 7.1.0

The setting is of type string now and accepts a comma-separated list of folders. Before, only a single folder (int) was possible.

glossary2.pidOfDetailPage
Type
int
Default
0

Page which contains the plugin to show the detail view. Leave it at 0 to show the details on the current page. The value is used for plugin.tx_glossary2.settings.pidOfDetailPage.

glossary2.pageBrowser.itemsPerPage
Type
int
Default
10

Number of glossary records shown on one page of the list view. The value is used for plugin.tx_glossary2.settings.pageBrowser.itemsPerPage.

Changed in version 7.0.1

The default value was reduced from 15 to 10.

Example site settings 

config/sites/<identifier>/settings.yaml
glossary2:
  storagePid: '21,45'
  pidOfDetailPage: 84
  pageBrowser:
    itemsPerPage: 20
Copied!