Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2014-12-31 16:35:15

pierlu
Member
Registered: 2014-08-12
Posts: 153

Gallery in article

Hi I have created a form for the “events”. Through the plugin smd_gallery I created a gallery for everyone. I would like to see every event their gallery. I wrote the following code:

<div class="titoloSezione">
          <h1>Eventi & sagre</h1>
        </div>  
      <div class="nomesagra">
          <h1><txp:title /></h1>   </div> 
<div class="excerptsagra">
<txp:excerpt /></div>
<div class="imgartsagra"> 
<txp:article_image />
</div>
<div class="fotosagra1">
<txp:if_custom_field name="galleria1">
<div class="gallerysagra">
<txp:smd_gallery category="?galleria" wraptag="ul">
<li><a href="#"><img src="{thumburl}" /></a></li>
</txp:smd_gallery>
</div> <!--gallery-->
</div>

What is wrong?

{Edited to add Textile’s bc. for better readability. – Uli}

Last edited by uli (2014-12-31 18:16:24)

Offline

#2 2014-12-31 18:17:50

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Gallery in article

pierlu wrote #286979:

What is wrong?

Close the if_custom_field tag and report any changes.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB