Configuration

plugin_tx_kkdownloader_pi1.

TypoScript Setup Reference

debug Boolean false linkdescription Integer 1 downloadIcon String 1 missingDownloadIcon String EXT:kk_downloader/pi1/images/download.gif templateFile String EXT:kk_downloader/kk_download_template.html defaultDownloadPid Integer/String all singlePID Integer empty displayCreationDate Boolean dateformat ->stdWrap datetimeformat ->stdWrap timeformat ->stdWrap imageDistance String 5 image ->imgResource/->stdWrap fileMDateClass String empty filesizeClass String empty parseFunc Array parseFunc_RTE results_at_a_time Integer 25 pageBrowser Array pageBrowser Array =========================== ===================================== =========================================

Property details

debug

Prints of the Extension will appear on screen

linkdescription

If no linktitle set:

1 = filename.fileextension, 2 = filename 3 = fileextension

downloadIcon

Path to download icon (complete – e.g.

downloadIcon = EXT:kk_downloader/pi1/images/downLoad.gif)

or

Path to the folder, where the fileicons are: (e.g. downloadIcon = typo3/gfx/fileicons/) This path must end with a Slash! Result: the corrosponding icons to the fileextension will be shown, just like “pdf.gif” e.g. - Kurt Kunig

missingDownloadIcon

If the path is set typo3/gfx/fileicons/ you can set a default download icon if a icon is missing (e.g. for rar files)

templateFile

Path to template file

defaultDownloadPid

# PID of the general download folder (if no page-“starting-point” is set)

Integer: PID of a page-object String: “all” -> ALL downloads will be selected

singlePID

Pid of the detail page

displayCreationDate

Decision to display the date of the crdate behind the download-number or not displayCreationDate (1 = yes, 0 = no)

  • additional array-elements in locallang.xml

dateformat

Here you can set the date formating for the template-marker: ###DATE###.

Example:

plugin.tx_kkdownloader_pi1 {
dateformat= l, d.m.Y

}

This will display the date in content elements like this: “Monday, 31.03.2008”.

datetimeformat

e.g. used for formatting the date-output of the download-file

datetimeformat = d.m.Y H:m

timeformat

Here you can set the date formatting for the template-marker: ###DATE###.

Example:

plugin.tx_kkdownloader_pi1 {
timeformat= H:i

}

This will display the time in content elements like this: “12:03”.

imageDistance

Distance between Image and text

image

Configurates the image(s) in news items.

Example:

image {

file.maxW = 140 imageLinkWrap = 0 imageLinkWrap {

enable = 1 bodyTag = <BODY bgColor=white> wrap = | width = 400m height = 400 JSwindow = 1 JSwindow.newWindow = 1 JSwindow.expand = 17,20

}

}

fileMDateClass

Span-class for LastMod-date of the download file

e.g.

fileMDateClass = sb_fileMDateClass

filesizeClass

class for the display of the file-size

e.g.

filesizeClass = sb_filesize_class

parseFunc

Render content of the field “longdescription”, converts LINK-entries into a-tags

e.g.

parseFunc < lib.parseFunc

parseFunc not set => Content will only be rendered with the php-method “nl2br()”

results_at_a_time

limit of single items on one list-page used with LIST for page-browsing. Can be overwritten in flexform.

pageBrowser

pageBrowser.maxPages

Default: 10

Maximum x pages will be shown

pageBrowser.showPBrowserText

Default: true

should pagebrowser-text be shown

pageBrowser.showResultCount

Default: true

Should the list result (Item 1 to 5 of 23) be shown?

pageBrowser.activepage_stdWrap.wrap

Default: <strong>|</strong>

Wrapping the active page

pageBrowser.page_stdWrap.wrap

Default: |

Wrapping the active page

pageBrowser.previous_stdWrap.wrap

Default: |

Wrapping the active page

pageBrowser.next_stdWrap.wrap

Default: |

Wrapping the active page