Typo3 - Bildergallerie: Unterschied zwischen den Versionen
Aus Wikizone
| Zeile 151: | Zeile 151: | ||
<!--###LISTING### end--> | <!--###LISTING### end--> | ||
| + | </pre> | ||
| + | |||
| + | |||
| + | <pre> | ||
| + | <!--###LAYOUT### begin--> | ||
| + | <div class="gallery_wrap"> | ||
| + | <div id="gallery_navi">###UP### | ###PREVIOUS### | ###NEXT### | ###TOP###</div> | ||
| + | <div class="gallery_title">###TITLE###</div> | ||
| + | <div class="gallery_description">###DESCR_LONG###</div> | ||
| + | <div id="gallery_pics">###GALLERY###</div> | ||
| + | </div> | ||
| + | <!--###LAYOUT### end--> | ||
| + | |||
| + | <!--###GALLERY_DEFAULT### begin--> | ||
| + | ###IMAGE### | ||
| + | <!--###GALLERY_DEFAULT### end--> | ||
| + | |||
| + | |||
| + | <!--###GALLERY_1x1### begin--> | ||
| + | ###IMAGE### | ||
| + | <!--###GALLERY_1x1### end--> | ||
| + | |||
| + | <!--###LISTING### start--> | ||
| + | <div class="gallery_list"> | ||
| + | <!--###LISTITEM### start--> | ||
| + | <!--###LINK_GENERAL###--> | ||
| + | ###TITLE### | ||
| + | <!--###LINK_GENERAL###--> | ||
| + | <div>Enthält ###COUNT### Bilder</div> | ||
| + | <div class="gallery_preview"> | ||
| + | <!--###LINK_GENERAL###--> | ||
| + | ###PREVIEW### | ||
| + | <!--###LINK_GENERAL###--> | ||
| + | <div class="gallery_description_short"> | ||
| + | <div>###DESCR_SHORT###</div> | ||
| + | </div> | ||
| + | </div> | ||
| + | <!--###LISTITEM### end--> | ||
| + | <!--###NOTFOUND### start--> | ||
| + | <div class="error"> ###MESSAGE### </div> | ||
| + | <!--###NOTFOUND### end--> | ||
| + | <!--###PAGINATION### start--> | ||
| + | <div class="gallery_pagination"> | ||
| + | <!--###PAGE_ITEM### start --> | ||
| + | <!--###PAGE_LINK###--> | ||
| + | ###PAGE_LABEL### ###PAGE_NUMBER### | ||
| + | <!--###PAGE_LINK###--> | ||
| + | <!--###PAGE_ITEM### end --> | ||
| + | </div> | ||
| + | <!--###PAGINATION### end--> | ||
| + | </div> | ||
| + | <!--###LISTING### end--> | ||
</pre> | </pre> | ||
Aktuelle Version vom 12. April 2006, 15:13 Uhr
Konfiguration der lz_gallery[Bearbeiten]
Tipps: Mit simulate static documents benutzen
############
#Gallerie Plugin#
############
# Default Styles loswerden...
plugin.tx_lzgallery_pi1_simple._CSS_DEFAULT_STYLE >
plugin.tx_lzgallery_pi1._CSS_DEFAULT_STYLE >
# kopiere alle Objekte in ein neues Objekt...
plugin.tx_lzgallery_pi1_einfach < plugin.tx_lzgallery_pi1
#alle Presets und Options wegwerfen...
plugin.tx_lzgallery_pi1_einfach.piVarPresets >
plugin.tx_lzgallery_pi1_einfach.piVarOptions >
# Layout wegwerfen...
plugin.tx_lzgallery_pi1_einfach.layout.value >
# in den Options stehen mögliche Werte die Übergebenwerden dürfen
# wichtig damit kein User Mist machen kann
# in den Presets steht der Standard Wert wenn nichts übergeben wird
plugin.tx_lzgallery_pi1_einfach{
piVarPresets{
clickmode = samewindow_noeffect
colrows = 3x3
maxwidth = 520
}
piVarOptions{
clickmode = samewindow_noeffect
colrows = 1x1, 3x3
maxwidth = 520
}
}
# Gallerie einstellungen wegwerfen
plugin.tx_lzgallery_pi1_einfach{
gallery >
next_nolink >
previous_nolink >
}
plugin.tx_lzgallery_pi1_einfach{
#optimizeFactor = 0.75
}
plugin.tx_lzgallery_pi1_einfach.gallery{
default{
filename = 1
filesize = 1
image = 1
}
}
plugin.tx_lzgallery_pi1_einfach.layout.value(
# Hier kommt das Template rein s.u.
)
plugin.tx_lzgallery_pi1 < plugin.tx_lzgallery_pi1_einfach
#plugin.tx_lzgallery_pi1._CSS_DEFAULT_STYLE >
Layout 1 - Tabellenbasiert:
<!--###LAYOUT### begin-->
<br>
<table class="gallery-imgnav" align="center">
<tr>
<td class="contentLink">###UP### | ###PREVIOUS### | ###NEXT### | ###TOP###</td>
</tr>
</table>
<div class="header">###TITLE###</div>
<div class="content">###DESCR_LONG###</div>
<div id="lzgallery-pics">###GALLERY###</div>
<!--###LAYOUT### end-->
<!--###GALLERY_DEFAULT### begin-->
###IMAGE###
<!--###GALLERY_DEFAULT### end-->
<!--###GALLERY_1x1### begin-->
###IMAGE###
<!--###GALLERY_1x1### end-->
<!--###LISTING### start-->
<table id="lzgallery-listing" align="center">
<!--###LISTITEM### start-->
<tr>
<td class="contentLink">
<table width="100%" class="gallery-list-head">
<tr>
<td>
<!--###LINK_GENERAL###-->
###TITLE###
<!--###LINK_GENERAL###-->
</td>
<td class="content" align="right">Enthält ###COUNT### Bilder</td>
</td></tr></table>
</tr>
<tr>
<td colspan=2>
<table width="100%">
<tr>
<td class="preview" rowspan=2>
<!--###LINK_GENERAL###-->
###PREVIEW###
<!--###LINK_GENERAL###-->
</td>
<td class="information"> </td>
</tr>
<tr>
<td class="descr_short">
<DIV align="right">###DESCR_SHORT###</DIV>
</td>
</tr>
</table>
</td>
</tr>
<!--###LISTITEM### end-->
<!--###NOTFOUND### start-->
<tr class="line1">
<td class="title">###MESSAGE###</td>
</tr>
<tr class="line2">
<td> </td>
</tr>
<!--###NOTFOUND### end-->
<!--###PAGINATION### start-->
<tr class="pagination">
<td>
<!--###PAGE_ITEM### start -->
<!--###PAGE_LINK###-->
###PAGE_LABEL### ###PAGE_NUMBER###
<!--###PAGE_LINK###-->
<!--###PAGE_ITEM### end -->
</td>
</tr>
<!--###PAGINATION### end-->
</table>
<!--###LISTING### end-->
<!--###LAYOUT### begin-->
<div class="gallery_wrap">
<div id="gallery_navi">###UP### | ###PREVIOUS### | ###NEXT### | ###TOP###</div>
<div class="gallery_title">###TITLE###</div>
<div class="gallery_description">###DESCR_LONG###</div>
<div id="gallery_pics">###GALLERY###</div>
</div>
<!--###LAYOUT### end-->
<!--###GALLERY_DEFAULT### begin-->
###IMAGE###
<!--###GALLERY_DEFAULT### end-->
<!--###GALLERY_1x1### begin-->
###IMAGE###
<!--###GALLERY_1x1### end-->
<!--###LISTING### start-->
<div class="gallery_list">
<!--###LISTITEM### start-->
<!--###LINK_GENERAL###-->
###TITLE###
<!--###LINK_GENERAL###-->
<div>Enthält ###COUNT### Bilder</div>
<div class="gallery_preview">
<!--###LINK_GENERAL###-->
###PREVIEW###
<!--###LINK_GENERAL###-->
<div class="gallery_description_short">
<div>###DESCR_SHORT###</div>
</div>
</div>
<!--###LISTITEM### end-->
<!--###NOTFOUND### start-->
<div class="error"> ###MESSAGE### </div>
<!--###NOTFOUND### end-->
<!--###PAGINATION### start-->
<div class="gallery_pagination">
<!--###PAGE_ITEM### start -->
<!--###PAGE_LINK###-->
###PAGE_LABEL### ###PAGE_NUMBER###
<!--###PAGE_LINK###-->
<!--###PAGE_ITEM### end -->
</div>
<!--###PAGINATION### end-->
</div>
<!--###LISTING### end-->