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.

wec_sermonsΒΆ

This is the default wec_sermons configuration used to show sermons within the calendar.

plugin.tx_cal_controller.display.wec_sermons

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 = tx_wecsermons_sermons.*, 1 AS allday

Default

See description

Property

pidTable

Data type

String

Description

Configure the table the records come from.

Default

tx_wecsermons_sermons

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

((tx_wecsermons_sermons.occurrence_date >=###START### AND tx_wecsermons_sermons.occurrence_date+3600<=###END###) OR (tx_wecsermons_sermons.occurrence_date+3600<=###END### AND tx_wecsermons_sermons.occurrence_date+3600>=###START###) OR (tx_wecsermons_sermons.occurrence_date+3600>=###END### AND tx_wecsermons_sermons.occurrence_date<=###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

tx_wecsermons_sermons.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_wecsermons_pi1[showUid]=###UID###&tx_wecsermons_pi1[recordType]=tx_wecsermons_sermons

Property

startTimeField

Data type

String

Description

Define the field containing the timestamp for the start time

Default

occurrence_date

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

occurrence_date

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 = description
  • image = graphic

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

blue_catheader

Property

bodyStyle

Data type

String

Description

The body style class to be used.

Default

blue_catbody

Property

legendDescription

Data type

String

Description

The title in the legend description for these records

Default

Sermons

Property

search.searchEventFieldList

Data type

String, CSV

Description

The fields, which are allowed to be searched through

Default

tx_wecsermons_sermons.title,tx_wecsermons_sermons.description,tx_wecsermons_sermons.keywords

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/tx_wecsermons/|
}

[tsref:plugin.tx_cal_controller.display.wec_sermons]