Configuration¶
plugin_tx_kkdownloader_pi1.
TypoScript Setup Reference¶
Property details¶
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
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
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.