Property: | Data type: | Description: | Default: |
|---|---|---|---|
allRecords | boolean | This option overwrites the local news record option "Display in calendar" | 0 |
tsref:plugin.tx_newscalendar_pi1.show]
Property: | Data type: | Description: | Default: |
|---|---|---|---|
cssCalendar | string | CSS file for calendar | EXT:newscalendar/res/cssCalendar.css |
cssContextMenu | string | CSS file for calendar context menu | EXT:newscalendar/res/cssContextMenu.css |
[tsref:plugin.tx_newscalendar_pi1.file]
Property: | Data type: | Description: | Default: |
|---|---|---|---|
listViewTemplate | string | Template file for list view | EXT:newscalendar/res/listViewTemplate.html |
order | string | Order list by date “asc” or “desc” | asc |
strftime.main | string | Time format | %B - %Y |
strftime.header | string | Time format | %d - %A |
strftime.item | string | Time format | %H:%M |
[tsref:plugin.tx_newscalendar_pi1.file.listView]
Property: | Data type: | Description: | Default: |
|---|---|---|---|
startWeekDay | int | The start week day for the calendar default 0 (Monday) | 0 |
strftime.contextHeader | string | Time format | %A, %Y-%m-%d |
strftime.contextItem | string | Time format | %H:%M |
[tsref:plugin.tx_newscalendar_pi1.calendar]
Property: | Data type: | Description: | Default: |
|---|---|---|---|
displayType | int | Type of render: 1 – Calendar2 – List3 - ListInterval | not set |
monthLinkDisplay | int | Show link to list. 1 – Yes 0 - No | not set |
listPage | int | Uid of list page to link to. | |
singleView | int | Uid of page that will render the single view for news item. | |
backPage | int | Back page for news item. | not set |
startingPoint | int | Starting point for news records. | |
recursion | int | Recursion level for startpoint | not set |
dayNameLength | int | Length of day description Please see next section about “dayNameLength” in Cyrillic languages. | |
contextMenuLink | string | Context menu activation:LEFT - left mouse clickRIGHT - right mouse clickMOVE - on mouse ouver | not set |
[tsref:plugin.tx_newscalendar_pi1.render
Property: | Data type: | Description: | Default: |
|---|---|---|---|
parserFunction | string | Type of php function to parse special characters: “htmlspecialchars” , “htmlentities” or “skip” Some multi-language sites over different server configuration prefer different approaches. Change this value if you experience funny characters in your display. | htmlentities |
[tsref:plugin.tx_newscalendar_pi1.special]
This happens because this language consumes more than one byte per character and the PHP substring function does not take this in consideration. There is no workaround for this for now. Thanks Vasy (Василий Мосийчук – typo3.net.ua) for the images and report.
Here is an example of how to achieve this, please change the values to fit your needs.
plugin.tx_newscalendar_pi1.show.allRecords = 1
plugin.tx_newscalendar_pi1.render.monthLinkDisplay = 1
plugin.tx_newscalendar_pi1.render.dayNameLength = 1
plugin.tx_newscalendar_pi1.render.singleView = 268
plugin.tx_newscalendar_pi1.render.backPage = 267
plugin.tx_newscalendar_pi1.render.contextMenuLink = LEFT
plugin.tx_newscalendar_pi1.render.displayType = 1
plugin.tx_newscalendar_pi1.render.listPage = 285
plugin.tx_newscalendar_pi1.render.startingPoint = 204
lib.calendarContainer < plugin.tx_newscalendar_pi1