Typo3 - Bildergallerie

Aus Wikizone
Version vom 12. April 2006, 10:33 Uhr von 84.161.161.205 (Diskussion)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Konfiguration der lz_gallery

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-->