Jump to content

image slider link


Recommended Posts

i cant modify that file can you please tell me where should i add 

 

<div class="leocamera_container span8">
    <div id="leo-camera" class="camera_wrap {$leocamera.theme}">
        {foreach from=$leocamera_slides item=item}
            <div data-thumb="{$item.thumbnail}" data-src="{$item.mainimage}" >
                {if $item.title and $leocamera.show_desc}                            
                    <div class="camera_caption fadeFromBottom" >             
                        <div class="leo_camera_title" >
                            {if $leocamera.show_title}
                                <a href="{$item.url}" title="{$item.title}">{$item.title}</a>
                            {/if}                            
                        </div>
<div class="leo_camara_desc">
{$item.description}
</div>
                    </div>
                {/if}
            </div>
        {/foreach}    
    </div>
</div>
 
 
 
 
this is the code for default.tpl
Link to comment
Share on other sites

hello

 

this is not chat, this is forum :)

 

 

ohh there is no <img> tag! try with this:

<div class="leocamera_container span8">
    <div id="leo-camera" class="camera_wrap {$leocamera.theme}">
        {foreach from=$leocamera_slides item=item}
        <a href="{$item.url}" title="{$item.title}">
            <div data-thumb="{$item.thumbnail}" data-src="{$item.mainimage}" >
                {if $item.title and $leocamera.show_desc}                            
                    <div class="camera_caption fadeFromBottom" >             
                        <div class="leo_camera_title" >
                            {if $leocamera.show_title}
                                <a href="{$item.url}" title="{$item.title}">{$item.title}</a>
                            {/if}                            
                        </div>
<div class="leo_camara_desc">
{$item.description}
</div>
                    </div>
                {/if}
            </div>
        </a>
        {/foreach}    
    </div>
</div>
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...