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: Gallery2¶
Created: | 2006-04-11T08:43:33 |
---|---|
Changed by: | Philipp Müller |
Changed: | 2007-09-17T09:09:32 |
Classification: | gallery2 |
Email: | pmueller@juhui.ch |
Info 2: | |
Info 3: | |
Info 4: |
EXT: Gallery2¶
Extension Key: gallery2
Copyright 2006, Philipp Mueller <pmueller@juhui.ch>
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.com
Index¶
EXT: Gallery2 1
Introduction 2
Required 2
What does it do? 2
Screenshots 2
Developers 3
Sponsors 3
Users Manual 4
Note: 4
Administration 4
Installation 4
Configuration 5
FAQ 5
Files 5
Reference 5
CSS-Configuration 5
Known problems 6
TODO 6
Changelog 6
Introduction¶
Required¶
To use this extension please install the gallery2-application first. You can find the download and documentation of Gallery2 on http://gallery.menalto.com
What does it do?¶
- Integrate Gallery2 in a Backend-Module
- Integrate Gallery2 in Frontend (FE-Plugin)
- Display the complete gallery
- Display random albums/images
- Display the recent album/image
- Display random images of recent albums
- Display the complete gallery with a singleview of pictures on the same page (AJAX-Based)
- Embed-Class to support working with other extensions (experemental).
Developers¶
Philipp Müller (pmueller[at]juhui.ch)
Sponsors¶
The gallery2-Extension was sponsored by:
- Jud Informatik+Grafik GmbH, Uznach ( www.juhui.ch )
- linth24.ch GmbH, Uznach ( www.linth24.ch )
- juhuimedia GmbH, Uznach ( www.juhuimedia.ch )
Users Manual¶
Note:¶
Please look into the forum: http://gallery.menalto.com/node/51887
This is an Alpha-Version. If you find a bug please remember me over email: pmueller@juhui.ch, thanks.
If you have a question, send me an email.
Administration¶
You must set the relative path from document-root to Gallery2. Default's: gallery2
$TYPO3_CONF_VARS['EXTCONF']['gallery2']['g2RelPath'] = 'gallery2';
You can define the parent module of gallery2 (Web, User...). Default's: user
$TYPO3_CONF_VARS['EXTCONF']['gallery2']['g2mainMod '] = 'user';
Installation¶
Install the extension with the extension manager. If you already use an older version of gallery2, you can overwrite it while the installation.
Configuration¶
FAQ¶
...
Files¶
class.tx_gallery2_albumview.php¶
File
class.tx_gallery2_albumview.php
Description
Creates the selection-field for album-selection in Backend (when you insert a plugin).
pi1/class.tx_gallery2_pi1.php¶
File
pi1/class.tx_gallery2_pi1.php
Description
Frontend-Plugin to integrate gallery2 into TYPO3-Frontend.
mod1/index.php¶
File
mod1/index.php
Description
Backend-Module to integrate gallery2 completely into TYPO3-Backend.
lib/class.tx_gallery2_api.php¶
File
lib/class.tx_gallery2_api.php
Description
API for global used functions
lib/class.tx_gallery2_extembed.php¶
File
lib/class.tx_gallery2_extembed.php
Description
Few functions to embed gallery2 into an other extension. (obsolete)
Reference¶
class.tx_gallery2_pi1.php properties¶
view¶
Property
view
Data type
string
Description
Code to define, what the script does.
Views:
Default
gallery
gallery¶
Property
gallery
randomAlbum
randomImage
recentAlbum
recentImage
recentAlbumsSelf
ajaxGallery
ajaxSingleview
Data type
display the complete gallery
display a countable random albums
display countable random images
display a recent-album
display a recent-image
display random images of recent-albums
display the complete gallery with ajax-Links for Singleview (ajaxSingleview must be inlcuded on the same page too)
AJAX-Singleview (use only in combination with «ajaxGallery»
showItem¶
Property
showItem
Data type
integer
Description
ID of gallery-Item to display.
Default
0
galleryPage¶
Property
galleryPage
Data type
integer
Description
If you will link random or recent items to an other page, set here the page-id.
Default
count¶
Property
count
Data type
integer
Description
Item-Quantity to display. (used for random-views)
Default
3
show¶
Property
show
Data type
string
Description
This is a pipe (|) separated list, of one or more possible choices which are:
title|date|views|owner|heading|fullSize or just 'none'.
Default
title
maxSize¶
Property
maxSize
Data type
integer
Description
Maximum size (in px) of the image- and albumpreviews.
Default
fails¶
Property
fails
Data type
integer
Description
Maximum fails on display: randomImages, randomAlbums
Default
5
dontlink¶
Property
dontlink
Data type
boolean
Description
Remove link tag (only on random-functions)
Default
0
CSS-Configuration¶
An Example-stylesheet you can find on http://www.linth24.ch/fileadmin /templates/extensions/gallery2/gallery2.css
Known problems¶
- I don't tested this extension with Gallery2-Multisite!
- Don't run with RealURL! You can disable RealURL on the gallery-pages in the realurl-configuration.
TODO¶
- Use Gallery2-Extension on two different domains.
- Add more options to the api
- Add Fe-User synchronisation
- Testing the extension for Gallery2-Multisite supporting!
- More language-support for backend.