DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
tt_productsΒΆ
This is the default tt_products configuration used to show products within the calendar.
plugin.tx_cal_controller.display.tt_products
Property
event_select
Data type
SELECT
Description
This is the heart of the connection SQL. It will be used in conjunction with the view-where (findallWithinWhere, findAll and findWhere) to retrieve the tt_news records.
selectFields = tt_products.*
Default
See description
Property
pidTable
Data type
String
Description
Configure the table the records come from.
Default
tt_products
Property
findAllWithinWhere
Data type
String
Description
Define the where clause for the views: day, week, month, year, list, rss. Use ###START### and ###END### as marker to be replaced during runtime with the timeframe
Default
((tt_products.sellstarttime>=###START### AND tt_products.sellstarttime<###END###) OR (tt_products.sellendtime<###END### AND tt_products.sellendtime>###START###) OR (tt_products.sellendtime>###END### AND tt_products.sellstarttime<###START###))
Property
findAll
Data type
String
Description
Define the where clause for the ? view Use ###START### and ###END### as marker to be replaced during runtime with the timeframe
Currently not in use!!
Default
Property
findWhere
Data type
String
Description
Define the where clause for the single event views: event, ics Use ###UID### as marker to be replaced during runtime to define the uid of the record
Default
tt_products.uid = ###UID###
Property
externalPlugin
Data type
Boolean
Description
Enable this to create a link to another page containing the single view of the external plugin. Use ###DB_FIELD### to retrieve record related informations from the database (DB_FIELD is a placeholder)
Default
0
Property
externalPlugin.singleViewPid
Data type
Integer / PID
Description
Define the pid for the external plugin single view
Default
Property
externalPlugin.additionalParams
Data type
String / stdWrap
Description
Contains the paramter(s) to be added to the url. Use ###DB_FIELD### to retrieve record related informations from the database (DB_FIELD is a placeholder)
Default
tx_ttproducts_pi1[product]=###UID###
Property
startTimeField
Data type
String
Description
Define the field containing the timestamp for the start time
Default
sellstarttime
Property
endTimeField
Data type
String
Description
Define the field containing the timestamp for the end time.If there is no according field, leave it empty and define a defaultLength
Default
sellendtime
Property
defaultLength
Data type
Integer
Description
If there is no end time, you can define a default length (in minutes)
Default
0
Property
fieldMapping
Data type
Array
Description
For a quick and easy integration, map your record fields to the standard event fields
Default
- title = title
- description = note
- image = image
Property
template
Data type
String / Path
Description
The template to be used with these records
Default
EXT:cal_ts_service/Resources/Private/Templates/ts.tmpl
Property
headerStyle
Data type
String
Description
The header style class to be used.
Default
green_catheader
Property
bodyStyle
Data type
String
Description
The body style class to be used.
Default
green_catbody
Property
legendDescription
Data type
String
Description
The title in the legend description for these records
Default
Angebote
Property
search.searchEventFieldList
Data type
String, CSV
Description
The fields, which are allowed to be searched through
Default
tt_products.title,tt_products.note
Property
event.event.image
Data type
cObject
Description
The image definition
Default
image >
image = IMAGE
image {
file.import.field = image
file.import.stdWrap.wrap = uploads/pics/|
}
[tsref:plugin.tx_cal_controller.display.tt_products]