.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt =============================== Simple image gallery management =============================== :Author: Christopher :Created: 2010-12-18T19:57:23 :Changed by: Matthias Toscanelli :Changed: 2013-08-23T15:28:19 :Classification: cdsrc_gallery :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) ---- :Keywords: gallery, based on folders, forEditors, forIntermediates :Author: Matthias Toscanelli :Email: m.toscanelli@code-source.ch :Language: en .. _img-1-img-2-Simple-image-gallery-management: |img-1| |img-2| Simple image gallery management =============================================== Extension Key: cdsrc\_gallery Language: en Version: x.y.z Keywords: gallery, based on folders, forEditors, forIntermediates Copyright 2013, Matthias Toscanelli, 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: Table of Contents ----------------- **`Simple image gallery management 1 <#__RefHeading__5708_1738894311>`_** **`Introduction 3 <#__RefHeading__5710_1738894311>`_** `What does it do? 3 <#__RefHeading__463_413120346>`_ `Screenshots 3 <#__RefHeading__465_413120346>`_ **`Users manual 4 <#__RefHeading__467_413120346>`_** `Subheading 4 <#__RefHeading__31507_818911409>`_ `FAQ 5 <#__RefHeading__31509_818911409>`_ **`Administration 6 <#__RefHeading__31511_818911409>`_** `Installation 6 <#__RefHeading__31513_818911409>`_ **`Configuration 7 <#__RefHeading__31515_818911409>`_** `Reference 7 <#__RefHeading__31519_818911409>`_ `Available fields 7 <#__RefHeading__823_39633226>`_ **`To-Do list 8 <#__RefHeading__477_413120346>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This extension provide the possibility to add many meta informations for folders and images. Everything meta informations are stored in files, so it's easy to edit them with FTP. .. _Screenshots: Screenshots ^^^^^^^^^^^ Module to edit meta informations in TYPO3 back-end : |img-3| Module to edit available meta informations for a folder and his folders/files : |img-4| Users manual ------------ Include the static TypoScript in your Template |img-5| Create a new content-element => plugin “Gallery” You will see an input-field: |img-6| Administration -------------- .. _Installation: Installation ^^^^^^^^^^^^ Download the extension and install it with the extension manager, no specific configuration is required. Include the static Typoscript in your template .. _Configuration: Configuration ------------- .. _Reference: Reference ^^^^^^^^^ plugin.tx\_cdsrcgallery\_pi1 .. ### BEGIN~OF~TABLE ### .. _stdWrap: stdWrap """"""" .. container:: table-row Property stdWrap Data type stdWrap Description Wraps the whole galleries. Default .. _folder: folder """""" .. container:: table-row Property folder Data type cObj Description Folder rendering Default .. _file: file """" .. container:: table-row Property file Data type cObj Description File rendering Default .. ###### END~OF~TABLE ###### .. _Example: Example """"""" This is a very simple example of rendering (c.f.: static template): :: plugin.tx_cdsrcgallery_pi1{ stdWrap.wrap = | folder = CASE folder{ key = 1 key.if.isFalse.field = depth default = COA default{ wrap =
|
10 = COA 10{ wrap =
|
10 = IMAGE 10{ file.import.field = image altText.field = field_0 altText.ifEmpty.field = basename titleText.field = field_0 titleText.ifEmpty.field = basename } 20 = TEXT 20{ wrap =
|
field = field_0 ifEmpty.field = basename } } 20 = TEXT 20{ wrap =
|
field = folders } 30 = TEXT 30{ wrap =
|
field = files } } 1 = TEXT 1{ wrap =
|
field = folders } } file = IMAGE file{ file.import.field = path altText.field = field_0 altText.ifEmpty.field = basename titleText.field = field_0 titleText.ifEmpty.field = basename } } .. _Available-fields: Available fields ^^^^^^^^^^^^^^^^ For folders: .. ### BEGIN~OF~TABLE ### .. _basename: basename """""""" .. container:: table-row Field basename Description The basename of the folder .. _path: path """" .. container:: table-row Field path Description The relative path to PATH\_site .. _folders: folders """"""" .. container:: table-row Field folders Description Rendered sub-folders .. _files: files """"" .. container:: table-row Field files Description Rendered sub-files .. _depth: depth """"" .. container:: table-row Field depth Description Depth of the folder relative to root (0) .. _parentindex: parentindex """"""""""" .. container:: table-row Field parentindex Description Unique index of the parent folder .. _dirindex: dirindex """""""" .. container:: table-row Field dirindex Description Unique index of the current folder .. _index: index """"" .. container:: table-row Field index Description Numeric index of the current folder (ex: 0, 1, 2, ...) .. _image: image """"" .. container:: table-row Field image Description A random image picked in all sub-files recursively .. _ifolders: ifolders """""""" .. container:: table-row Field ifolders Description Comma-separated sub-folders .. _ifiles: ifiles """""" .. container:: table-row Field ifiles Description Comma-separated sub-files .. _field-0: field\_0 """""""" .. container:: table-row Field field\_0 Description Name of the folder (always exists) .. _field: field\_# """""""" .. container:: table-row Field field\_# Description All others meta-informations .. ###### END~OF~TABLE ###### For files: .. ### BEGIN~OF~TABLE ### .. _basename: basename """""""" .. container:: table-row Field basename Description The basename of the image .. _dirname: dirname """"""" .. container:: table-row Field dirname Description The basename of the parent folder .. _path: path """" .. container:: table-row Field path Description The relative path to PATH\_site .. _name: name """" .. container:: table-row Field name Description The basename without the extension .. _extension: extension """"""""" .. container:: table-row Field extension Description The extension of the file .. _dirindex: dirindex """""""" .. container:: table-row Field dirindex Description Unique index of parent folder .. _index: index """"" .. container:: table-row Field index Description Numeric index of the current .. _field-0: field\_0 """""""" .. container:: table-row Field field\_0 Description Name of the folder (always exists) .. _field: field\_# """""""" .. container:: table-row Field field\_# Description All others meta-informations .. ###### END~OF~TABLE ###### .. _To-Do-list: To-Do list ---------- Configure file's extensions specific for a specific folder Configure file's names used to store meta-informations .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 44 .. :id: graphics5 .. :name: graphics5 .. :vspace: 57 .. :width: 161 .. |img-2| image:: img-2.png .. :align: left .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 146 .. :id: graphics1 .. :name: graphics1 .. :width: 624 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 94 .. :id: images1 .. :name: images1 .. :width: 624 .. |img-5| image:: img-5.png .. :align: left .. :border: 0 .. :height: 109 .. :id: images3 .. :name: images3 .. :width: 574 .. |img-6| image:: img-6.png .. :align: left .. :border: 0 .. :height: 187 .. :id: images2 .. :name: images2 .. :width: 415