jpk_downloadcounter manual

Setup

[globalVar = GP:download = ]
[else]
#donwload parameter is set, do redirect after updating download counter
page.11 = PHP_SCRIPT
page.11.file = EXT:jpk_downloadcounter/download_redirect.php
[global]
plugin.tx_jpkdownloadcounter_pi1 {
  templateFile = {$plugin.tx_jpkdownloadcounter_pi1.templateFile}
  uncachedDownloadPid = {$plugin.tx_jpkdownloadcounter_pi1.uncachedDownloadPid}
}
tx_jpkdownloadcounter_pi1 >
tx_jpkdownloadcounter_pi1 = < plugin.tx_jpkdownloadcounter_pi1
tx_jpkdownloadcounter_pi1.displayCurrentRecord = 1

 

Constants

# template File, uncached Download Pid
plugin.tx_jpkdownloadcounter_pi1 {
    templateFile = EXT:jpk_downloadcounter/pi1/downloadCounter.tmpl
    uncachedDownloadPid = 27
}

jpk_downloadcounter - Konfiguration

  • Seite für den Download anlegen und "Nicht cachen" aktivieren.
  • In "Include static (from extensions):" Objekt "download link with counter (jpk_downloadcounter)" auswählen.
  • Plugin einfügen, Download-Link erstellen und Ausgangspunkt wählen.

TYPO3 Templates, Tutorial, Hilfe, Informationen und Themen

TYPO3 Templates

TYPO3 Tutorial und TYPO3 Hilfe

TYPO3 Tipps

TYPO3 Informationen

TYPO3 Themen