Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

4.6. Configuring the Calendar of the Direct Mail Wizard

The calendar used in the fifth step of the Direct Mail send Wizard is based on the Date Selector Library Extension (rlmp_dateselectlib) from Robert Lemke.

The following properties are all children of mod.web_modules.dmail.calConf and it is used in the Page TSConfig of the Direct Mail SysFolder.

Property:

Data type:

Description:

Default:

weekStartsMonday

boolean

If set, calendar's week start on Monday. Otherwise it will start on Sunday

0

weekend

Comma-list of integer

A comma-list of integers which defines which days form a weekend. Possible values range from 0 to 6, where 0 means Sunday, 1 means Monday etc.

The default is Saturday and Sunday (6,0)

6,0

allowedYearMin

allowedYearMax

integer

If specified, the calendar only accepts dates in the range of these years.

1900

2070

displayWeekNumbers

boolean

If set, the week numbers will be displayed

1

showMethod

string

There are two ways to display the calendar. Attach below  the input field or freely positionable. Possible values are:

  1. element: the calendar will be shown right below the input field.

  2. Absolute: the calendar will be shown  at the specified coordination (see showPositionAbsolute)

element

showPositionAbsolute

offset

Use if showMethod is set to absolute.

Example:

showPositionAbsolute= 100,150

0,0

stylesheet

string

Defines a valid stylesheet relatively to your websites root URL.

Examples:

stylesheet = fileadmin/yourstylesheet.css

stylesheet = EXT:yourextension/res/stylesheet.css

EXT:direct_mail/res/scripts/calendar/calendar-system.css

inputFieldLabel

string

The input label of the button, which launches the calendar

...