TypoScript¶
All TypoScript configuration starts with: :typoscript:`plugin.tx_ifabrealestate_ifabrealestate.`
This page is divided into the following sections which are all configurable by using TypoScript:
Plugin settings¶
This section covers all settings, which can be defined in the plugin itself.
Properties¶
Property | Title | Sheet | Type |
---|---|---|---|
recursive | Recursive | Function | int |
detailPid | Detail view (Page-ID) | Function | int |
listPid | List view (Page-ID) | Function | int |
searchResultsPid | Search results (Page-ID) | Function | int |
limit | Max items | Options | int |
hidePagination | Hide pagination | Options | boolean |
list.paginate.itemsPerPage | Items per Page | Options | int |
recursive¶
Property
recursive
Data type
int
Description
:typoscript:`plugin.tx_ifabrealestate_ifabrealestate.settings.recursive = 5`
The search for pages as startingpoint can be extended by setting a recursive level.
detailPid¶
Property
detailPid
Data type
int
Description
:typoscript:`plugin.tx_ifabrealestate_ifabrealestate.settings.detailPid = 12`
This page is uses as target for the detail view. If nothing set, the current page is used.
listPid¶
Property
listPid
Data type
int
Description
:typoscript:`plugin.tx_ifabrealestate_ifabrealestate.settings.listPid = 12`
This page is uses as target for the listings, e.g. the list view and the Search form.
searchResultsPid¶
Property
searchResultsPid
Data type
int
Description
:typoscript:`plugin.tx_ifabrealestate_ifabrealestate.settings.searchResultsPid = 12`
This page is uses as target for the search results.
limit¶
Property
limit
Data type
int
Description
:typoscript:`plugin.tx_ifabrealestate_ifabrealestate.settings.list.limit = 10`
Define the maximum records shown.
Note
This setting is activated only if the pagination is not enabled.
hidePagination¶
Property
hidePagination
Data type
boolean
Description
:typoscript:`plugin.tx_ifabrealestate_ifabrealestate.settings.list.hidePagination = 1`
If defined, the pagination is not shown.
list.paginate.itemsPerPage¶
Property
list.paginate.itemsPerPage
Data type
int
Description
:typoscript:`plugin.tx_ifabrealestate_ifabrealestate.settings.list.paginate.itemsPerPage = 5`
Define the amount of properties items shown per page in the pagination.
General settings¶
Properties¶
typeNum int
typeNum¶
Property
typeNum
Data type
int
Description
:typoscript:`plugin.tx_ifabrealestate_ifabrealestate.settings.typeNum = 3657353`
The page type for the ajax call to get the amount of the search results.
Meta tag settings¶
The meta tags configuration starts with: :typoscript:`plugin.tx_ifabrealestate_ifabrealestate.settings.metatags`
Properties¶
image.dimensions.width¶
Property
image.dimensions.width
Data type
string
Description
Define the width of the image that is to be shared.
image.dimensions.height¶
Property
image.dimensions.height
Data type
string
Description
Define the height of the image that is to be shared.
general¶
Property
general
Data type
array
Description
plugin.tx_ifabrealestate_ifabrealestate.settings.metatags.general {
author = ifabrik GmbH, info@ifabrik.de
copyright = ifabrik GmbH
designer = ifabrik GmbH
Classification = Product
robots = index, follow
}
An associative array which takes the general html static meta tags and add them on the detail view.
Note
The author, copyright, designer etc are the actual meta tag properties, so as a result. :html:`<meta name="author" content="ifabrik GmbH, info@ifabrik.de">`
facebook¶
Property
Data type
array
Description
plugin.tx_ifabrealestate_ifabrealestate.settings.metatags.facebook {
og:type = og:product
og:site_name = ifabrik GmbH
og:email = info@ifabrik.de
}
An associative array which takes the facebook static meta tags and add them on the detail view.
Note
The og:type, og:site_name, og:email etc are the actual meta tag properties, so as a result. :html:`<meta property="og:site_name" content="ifabrik GmbH">`
twitter¶
Property
Data type
array
Description
plugin.tx_ifabrealestate_ifabrealestate.settings.metatags.twitter {
twitter:card = summary_large_image
twitter:site = @ifabrik
twitter:creator = @ifabrik
}
An associative array which takes the facebook static meta tags and add them on the detail view.
Note
The twitter:card, twitter:site, twitter:creator etc are the actual meta tag properties, so as a result. :html:`<meta name="twitter:site" content="@ifabrik">`