Zum Inhalt springen

lz_gallery, template einbinden, bilder nicht sichtbar

Erstellt am 19. Februar 2004 · Noch keine Antworten

Tags: Bilder, Frage

NOVA9 ·

Hi,

kann jemand folgende Frage beantworten. Und zwar wollte ich die lz_gallery folgendermassen anpassen ...

Und zwar hab ich über den template editor folgenden Code rauskopiert und im template der site wieder eingefügt:

---

plugin.tx_lzgallery_pi1_simple.layout.value (
<!--###LAYOUT### begin-->
<form name="tx-lzgallery-pi1-nav">
<table id="tx-lzgallery-pi1-fotonav" align="center">
<tr>
<td>###PREVIOUS###</td>
<td>###TOP###</td>
<td>###PAGE###</td>
<td>###UP###</td>
<td>###NEXT###</td>
</tr>
</table>
</form>
<div id="tx-lzgallery-pi1-title">###TITLE###</div>
<div id="tx-lzgallery-pi1-descr-long">###DESCR_LONG###</div>
<!--###LAYOUT### end-->

<!--###GALLERY### begin-->
<!--###GALLERY### end-->

<!--###LISTING### start-->
<table id="tx-lzgallery-pi1-listing" align="center">
<!--###PARENTGALLERY### start -->
<tr class="parent"><td>
<tr id="line-title"><td id="tx-lzgallery-pi1-parent-title">###TITLE###</td></tr>
<tr id="line-count"><td id="tx-lzgallery-pi1-parent-count">###COUNT_LABEL###: ###COUNT### </td></tr>
<tr id="line-subcount"><td id="tx-lzgallery-pi1-parent-subcount">###SUBCOUNT_LABEL###: ###SUBCOUNT### </td></tr>
<tr id="line-descr-short"><td id="tx-lzgallery-pi1-parent-descr-short">###DESCR_LONG###</td></tr>
</td></tr>
<!--###PARENTGALLERY### end -->
<!--###LISTITEM### start-->
<tr class="line1">
<td class="title"><!--###LINK_GENERAL###-->###TITLE###<!--###LINK_GENERAL###--></td>
<td class="startdate">###STARTDATE###</td>
<td class="count">###COUNT###</td>
</tr>
<tr class="line2">
<td colspan=3>
<table>
<tr>
<td class="preview" rowspan=2><!--###LINK_GENERAL###-->###PREVIEW###<!--###LINK_GENERAL###--></td>
<td class="information">
</td>
</tr>
<tr>
<td class="descr_short">###DESCR_SHORT###</td>
</tr>
</table>
</td>
</tr>
<!--###LISTITEM### end-->
<!--###NOTFOUND### start-->
<tr class="line1">
<td class="title">###MESSAGE###</td>
</tr>
<tr class="line2">
<td>
<table><tr>
<td class="preview"><!--###BACK_LINK###-->###BUTTON###<!--###BACK_LINK###--></td>
</tr></table>
</td>
</tr>
<!--###NOTFOUND### end-->
<!--###PAGINATION### start-->
<tr class="pagination">
<td>
<!--###PAGE_ITEM### start -->
<!--###PAGE_LINK###-->###PAGE_LABEL###&nbsp;###PAGE_NUMBER###<!--###PAGE_LINK###-->&nbsp;&nbsp;
<!--###PAGE_ITEM### end -->
</td>
</tr>
<!--###PAGINATION### end-->
<!--###SORTING### start-->
<tr class="sorting"><td>
<!--###SORT_ITEM### start -->
<!--###SORT_LINK###-->###SORT_FIELD###<!--###SORT_LINK###-->&nbsp;&nbsp;
<!--###SORT_ITEM### end -->
</td><tr>
<!--###SORTING### end-->
</table>
<!--###LISTING### end-->
)

plugin.tx_lzgallery_pi1 < plugin.tx_lzgallery_pi1_simple

plugin.tx_lzgallery_pi1._DEFAULT_PI_VARS.showUid = 4

---

Sprich: das obere Segment wurde aus dem "simple"-template rausgemacht und enfach in das value-feld des "simple"-templates wieder reingemacht. Danach wird das "normale" template mit dem "simple"-template überschrieben. Die letzte Zeile sorgt dafür, dass man direkt in die GALLERY reinkommt (also ohne Übersicht ALLER Galleries)

Das Problem: danach ist zwar alles wie vorhergesehen, bis auf das Rendern der Bilder, die sind WEG !

Woran kann das liegen bzw. was habe ich falschgemacht ?