We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36549
    • 572 Posts
    Hi,

    I am using the galleriffic plugin with Gallery which works well but i am struggling to find where to edit portions of the html.
    I want to change the default caption div which looks like this:
    <div class="caption-container" id="gal-gaff-caption">     
     <span class="image-caption current" style="opacity: 1;">
            <div class="caption">
            <div class="download">
                <a href="/myImage.jpg">Download Original</a>
            </div>
            <div class="image-title">Image Title</div>
            <div class="image-desc">
                desc
                
    <em>Tags:</em> tag1
            </div>
        </div></span></div>
    


    I've tried changing the chunk in core/components/gallery/elements/chunks/galleriffic.chunk.tpl....but it doesn't seem to have any effect when making changes to the layout when using placeholders...i.e, the following has no effect:

      <div class="caption">
               <div class="image-title"> <em>[[+tags]]</em>[[+filename]]</div>
               <div class="image-desc">[[+description]]</div>
      </div>


    In the snippet call I have tried setting " &toPlaceholders=`0` &tpl=`galleryContainerTpl` "
    where my galleryContainerTpl is:
    <div class="galleriffic"> 
    <div id="gal-gaff-gallery" class="gal_main">
         <div id="gal-gaff-caption" class="caption-container">
         
            <span class="image-caption">
           <div class="caption">
               <div class="image-title"> <em>[[+tags]]</em>[[+filename]]</div>
               <div class="image-desc">[[+description]]</div>
           </div>
          </span>
    
         
         
         </div>
    
        <div class="slideshow-container">
            <div id="gal-gaff-loading" class="loader"></div>
            <div id="gal-gaff-slideshow" class="slideshow"></div>
        </div>
       
    </div>
    <div id="gal-gaff-thumbs" class="navigation">
        <ul class="thumbs noscript">
            [[+thumbnails]]
        </ul>
    </div>
    <div style="clear: both;"></div>
    </div>
    


    Anyone know how i can change this?

    Thanks [ed. note: 9thwave last edited this post 14 years, 4 months ago.]
      www.9thwave.co.uk
         WEB | DESIGN | PRINT
      • 36549
      • 572 Posts
      found it, it's: gallerifficitemthumb.chunk.tpl
      in core/components/gallery/elements/chunks
        www.9thwave.co.uk
           WEB | DESIGN | PRINT