- Possible subsections: Reference (TypoScript)
Property: | Data type: | Description: | Default: |
|---|---|---|---|
listView.altTemplateFile | FILE | Alternative Template File for the listView Example: listView.altTemplateFile.file = fileadmin/templates/estateagent-alternative.html | EXT:estate_agent/pi1/template/tx_estateagent_template.tmpl |
singleView.altTemplateFile | FILE | Alternative Template File for the singleView | EXT:estate_agent/pi1/template/tx_estateagent_template.tmpl |
listView.results_at_a_time | int | Number of results displaying at a time | 3 |
defaultImageCObject | IMAGE | Image cObj of all images but the main estate image Example: defaultImageCObject = IMAGEdefaultImageCObject.file.height = 50 | |
imageCObject | IMAGE | Image cObj of the main estate image | |
listView.substitutionGroups | cObj | SubstitutionGroups are a possibility to strip markers in the template if there are no values of some other markers. Example: Your template has a DIV tag wrapping all additional images (the fields floorplan and view in the extension table), and you want the extension to strip the hole DIV tag if there is no floorplan and no view, create an substitutionGroup! in the template: ... <!--###VISUALS### begin --> <div> <!--###PART_FLOORPLAN### begin --> <h3>###HEADER_FLOORPLAN###:</h3> ###FLOORPLAN### <!--###PART_FLOORPLAN### end--> <!--###PART_VIEWS### begin --> <h3>###HEADER_VIEWS###:</h3> ###VIEWS### <!--###PART_VIEWS### end --> </div> <!--###VISUALS### end --> ... in Typoscript: plugin.tx_estateagent_pi1.singleView.substitutionGroups {1 {groupMarker = VISUALSelementList = FLOORPLAN,VIEWS} (the number 1 of the substitutionGroup is just an example, for more substitutionGroups use 1,2,3,...) | |
singleView..substitutionGroups | cObj | The same like listView.substitutionGroups but for the singleView Template |