Hello,
I've added some SexyLightbox-Anywhere-code into an CCK-template, which creates an article.
I would like to display a short gallery with the lightbox, by clicking on the word "Galerie", but the word isn't displayed as a link and so nothing happens if I click on it.
Here's the code of the gallery:
Code: |
<div id="gallery">{arisexylightbox activeType="imglist" dir="media/articles/productions/gallery" type="customtext"}Galerie{/arisexylightbox}</div>
|
and here the code of the complete cck-template:
Code: |
<p>{hide-if-empty title}</p>
<h2>{title:value}</h2>
<p> </p>
<div id="production" class="grid-layout">
<div id="poster">{hide-if-empty image}
<div>{CBImageScale open: true; field: image; width: 200}</div>
{/hide} {hide-if-empty trailer}
<div id="trailer">{arisexylightbox activeType="icontent" width="300" height="250" link="Trailer" title="{title:value}"}{CBVideo field: trailer; type: local_player;}{/arisexylightbox}</div>
{/hide} {hide-if-empty gallery}
<div id="gallery">{arisexylightbox activeType="imglist" dir="media/articles/productions/gallery" type="customtext"}Galerie{/arisexylightbox}</div>
{/hide}</div>
{hide-if-empty text}
<div id="text">
<p>Beschreibung:</p>
<p>{text:value}</p>
</div>
{/hide} {hide-if-empty details}
<div id="details">
<p>Details:</p>
<p>{details:value}</p>
</div>
{/hide}</div>
<p>{/hide}</p>
|
As you can see, I have also added a lightbox with an InlineContent and this one is working perfectly.
If I delete the part type="custom text" , the images of the directory will be displayed in the article an the lightbox is going to pop up if I click on an image-thumb, but I don't won't the images shown in the article. What am I doing wrong?