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.

EXT: Folderdownload

Created:2010-02-18T17:33:18
Changed:2013-05-15T09:09:41.380000000
Classification:sb_folderdownload
Description:The keywords help with categorizing and tagging of the manuals. You can combine two or more keywords and add additional keywords yourself. Please use at least one keyword from both lists. If your manual is NOT in english, see next tab "language" ---- forEditors (use this for editors / german "Redakteure") forAdmins (use this for Administrators) forDevelopers (use this for Developers) forBeginners (manuals covering TYPO3 basics) forIntermediates (manuals going into more depth) forAdvanced (covering the most advanced TYPO3 topics) see more: http://wiki.typo3.org/doc_template#tags ----
Keywords:download, image gallery, gallery, subfolders
Author:Sebastian Baumann
Email:sb@typo3erweiterungen.de
Info 4:
Language:en

img-1 img-2 EXT: Folderdownload - sb_folderdownload

EXT: Folderdownload

Extension Key: sb_folderdownload

Language: en

Keywords: download, image gallery, gallery, subfolders

Copyright 2000-2010, Sebastian Baumann, <sb@typo3erweiterungen.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.org

Table of Contents

EXT: Folderdownload 1

`Introduction 3 <#__RefHeading__1220_586004586>`_

What does it do? 3

User manual 3

Install the Extension 3

Configure the options 3

`Configuration 7 <#__RefHeading__1254_586004586>`_

Reference 7

Static css file 8

`Changelog 9 <#__RefHeading__1264_586004586>`_

Introduction

What does it do?

Display files in a folder on your webspace. It´s possible to protect the download links.

User manual

To setup and use the Servant Matcher extension, you will need to do the following:

Install The Extension

Create new site and add the Extension

Configure the options

Install the Extension

The first step you need to do is to install the extension – sb_folderdownload -- with the extension manager. You can get it by going to Tools section and choosing “Ext Manager” on the main action menu (usually on left-side). Then in the dropdown Menu at the top, select “Import Extensions” in the Menu at top. Then type “sb_folderdownload” in the “Extensions in TYPO3 Extension Repository” and click on the “Look up” button. You should then find the Servant Matcher extension.

If you have never installed this, then you will see a red arrow to the left of “sb_folderdownload” and you can click on that to install. If it has been installed, you can click on the green arrow to the left of the extension or the name of the extension and then load the newest version by clicking on the Import/Update button. It is highly recommended to install the new extension in the "local" folder (LOCAL: typo3conf/ext/sb_folderdownload).

Configure the options

After you create a page and add the extension, you have to edit the Flexform to get the right settings.

img-3

img-4 Flexform options / General setting

img-5

Flexform options / Image database options

When you are done with this, save the site and choose the categorie you want to display. Save again.

Important: Don´t forget the trailing slash!

Configuration

You have the possibility to edit the following properties via setup:

Reference

imagefolder

Property

imagefolder

Data type

String

Description

Imagefolder if no thumbs are possible

Default

typo3conf/ext/sb_folderdownload/pi1/images/

forbiddenFiles

Property

forbiddenFiles

Data type

String

Description

comma seperated, please include always the default values: .,..,thumbs.db

Default

.,..,thumbs.db

ForbiddenFileTypes

Property

ForbiddenFileTypes

Data type

String

Description

comma seperated

Default

php,php5,pl,cgi

allowedFiles

Property

allowedFiles

Data type

String

Description

allowed file extensions (comma separated list like jpg,png,gif,pdf)

Default

jpg,tif,gif,png

image

Property

image

Data type

->imgResource

->stdWrap

Description

Configurates the image(s) in news items.

Example:

image{

file.maxW = 190

file.maxH = 190

imageLinkWrap = 1

imageLinkWrap {

enable = 1

bodyTag = <BODY bgColor=white>

wrap = <A href="javascript:close();"> | </A>

width = 400m

height = 400

JSwindow = 1

JSwindow.newWindow = 1

JSwindow.expand = 17,20

}

see: TSref->imgResource

Default

ImageFiles

Property

ImageFiles

Data type

String

Description

allowed image files for thumbs (comma separated list like jpg,png,gif,pdf) - Option: if imageFiles = all, all files will be displayed

Default

jpg,tif,gif,png

DefaultIcon

Property

DefaultIcon

Data type

String

Description

default icon (e.g. if no small icon available. Normal the TYPO3 default icon is shown, but you can define a own default icon)

Default

typo3conf/ext/sb_folderdownload/pi1/images/default.png

DownloadIcon

Property

DownloadIcon

Data type

String

Description

Location of icons downloadIcon (e.g. typo3/gfx/fileicons/)

Default

typo3/gfx/fileicons/

((generated))
Example

plugin.tx_sbfolderdownload_pi1 {

# imagefolder if no thumbnail possible

imagefolder = typo3conf/ext/sb_folderdownload/pi1/images/

# forbidden files (comma seperated, please include always the default values: .,..,thumbs.db)

forbiddenFiles = .,..,thumbs.db,Thumbs.db

# forbidden filetypes (comma separated)forbiddenFileTypes = php,php5,pl,cgi

#allowed file extensions (comma separated list like jpg,png,gif,pdf)

allowedFiles = jpg,tif,gif,png

# Bilder

image{

file.maxW = 190

file.maxH = 190

imageLinkWrap = 1

imageLinkWrap {

enable = 1

bodyTag = <BODY bgColor=white>

wrap = <A href="javascript:close();"> | </A>

width = 400m

height = 400

JSwindow = 1

JSwindow.newWindow = 1

JSwindow.expand = 17,20

}

}

}

Static css file

You can insert the static css file via include static

img-6

Changelog

14.05.13 Sebastian Baumann <sb@typo3erweiterungen.de>* security bugfix: added User/Folder in flexform* added forbidden file types: forbiddenFileTypes

10-04-30 Sebastian Baumann < sb@typo3erweiterungen.de >

* fixed manual

* fixed typolink bug

10-04-14 Sebastian Baumann <sb@typo3erweiterungen.de>

* added subfolder* added image gallery

09-12-22 Sebastian Baumann <sb@typo3erweiterungen.de>

* security bugfix* added allowed files

09-02-23 Sebastian Baumann <sb@typo3erweiterungen.de>

* order by filename

08-08-01 Sebastian Baumann <sb@typo3erweiterungen.de>

* added possibility to display thumbs or not

08-06-10 Sebastian Baumann <sb@sitesystems.de>

* first public release

07-10-15 Sebastian Baumann <sb@sitesystems.de>

* Initial release

img-2 9