Configuration¶
Introduction¶
There are configurations for listView and singleView and more general parts like templateFile or pidList. In all fields related stdWraps fields from tx_sfbooks_books are available for field and data like uid.
plugin.tx_sfbooks¶
Settings for all plugins
plugin.tx_sfbooks_[book|author|category|series|search]¶
Settings specifically for each single plugins
Settings and view in both plugin configurations¶
.. sfbooks-Configuration:: templateRootPaths- Data type
-
array of file paths with stdwrap
- Default
-
none
Used to define several paths for templates, which will be tried in reversed order (the paths are searched from bottom to top). The first folder where the desired layout is found, is used. If the array keys are numeric, they are first sorted and then tried in reversed order.
Example:
plugin.tx_sfbooks {
view {
templateRootPaths {
10 = EXT:sitedesign/Resources/Private/Templates
20 = EXT:sitemodification/Resources/Private/Templates
}
}
}
- Data type
-
string
- Default
-
none
Allows to configure what pagination class should be used. If no class name is given or the given class does not implement the PaginationInterface, the default SimplePagination gets used.
Example:
plugin.tx_sfbooks {
settings {
pagination = TYPO3\CMS\Core\Pagination\SlidingWindowPagination
}
}
- Data type
-
integer
- Default
-
10
Amount of list entries per page.
Example:
plugin.tx_sfbooks {
settings {
itemsPerPage = 10
}
}
- Data type
-
integer
- Default
-
5
If a SlidingWindowPagination or compatible pagination is used, this defines the amount of pages in the pagination list.
Example:
plugin.tx_sfbooks {
settings {
numberOfLinks = 3
}
}
- Data type
-
boolean
- Default
-
1
Choose weather to group the author list by first letter or not.
Example:
plugin.tx_sfbooks {
settings {
groupAuthors = 1
}
}
- Data type
-
boolean
- Default
-
1
Choose weather to group the series list by first letter or not.
Example:
plugin.tx_sfbooks {
settings {
groupSeries = 1
}
}
- Data type
-
array
- Default
-
1
Combinations of fields with order directions
Example:
plugin.tx_sfbooks {
settings {
orderings {
title = ASC
}
}
}