DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Administrator Manual¶
Target group: Administrators
Installation¶
- Download and install the extension via Typo3 ExtensionManager
- Create a storage folder to collect categories and downloads
- Add the static TypoScript to your Root-Template
- Add to your Root-Template the UID of your Storage-Folder (Edit constants for template)
- If you wish to use the plugin's licence feature, you have to integrate jQuery by your own.
Advanced configuration¶
- You should create your own templates:
- Copy the folder EXT:/nbdownloader/Resources/Private/Templates to your template folder (e.g. fileadmin/templates/nbdownloader/)
- Copy the folder EXT:/nbdownloader/Resources/Private/Partials to your template folder (e.g. fileadmin/templates/nbdownloader/)
- Add template information to your TypoScript-Setup.
Note
You should change the licence by your needs.
TypoScript¶
Use following properties with :ts:plugin.tx_nbdownloader.[property] = [value]
Field | Description | Default |
---|---|---|
view | ||
templateRootPath | path to templates | EXT:/nbdownloader/Resources/Private/Templates |
partialRootPath | path to partials | EXT:/nbdownloader/Resources/Private/Partials |
layoutRootPath | path to layouts | EXT:/nbdownloader/Resources/Private/Layouts |
persistence | ||
storagePid | storage folder | none |
settings | ||
imgDeveloper | image for licence | EXT:/nbdownloader/Resources/Public/Icons/nb-ball.jpg |
developerName | default developer name for licence | NetBrothers |
plugin.tx_nbdownloader {
view {
templateRootPath = {$plugin.tx_nbdownloader.view.templateRootPath}
partialRootPath = {$plugin.tx_nbdownloader.view.partialRootPath}
layoutRootPath = {$plugin.tx_nbdownloader.view.layoutRootPath}
}
persistence {
storagePid = {$plugin.tx_nbdownloader.persistence.storagePid}
}
settings {
# image of developer team
imgDeveloper = typo3conf/ext/nbdownloader/Resources/Public/Icons/nb-ball.jpg
# name developer team
developerName = NetBrothers
}
}
Templates and partial¶
View | Template | Partial |
---|---|---|
Category | Templates/Category/Single.html | Partials/Download/Item.html |
Download (Single) | Templates/Download/Single.html | Partials/Download/Item.html |
Licence | Partials/Licence/Licence1.html Partials/Licence/Licence2.html |