Jump to content

Home slider images use the same URL


BorjaJA

Recommended Posts

Hello,

I bought some days ago a theme to use in prestashop from TemplateMela. But due to the "support" I would like to ask you and try to solve ASAP.

From the backoffice, I indicate the images for the home slide. And also the URL, and the name for each image. But the problem is when I go to the frontoffice to check and the images have the same name and the same URL destination.

This is part of the tlp for the slider that I thinks I need to modify.

	<div class="flexslider" data-interval="{$tmhomeslider.speed}" data-pause="{$tmhomeslider.pause}">
		<div class="loadingdiv spinner"></div>
		<ul class="slides">
			{foreach from=$tmhomeslider.slides item=slide}
				<li class="slide">
					<a href="{$slide.url}" title="{$slide.legend}">
					<img src="{$slide.image_url}" alt="{$slide.legend}" title="{$slide.title}" />
					</a>
					{if $slide.description }
						<div class="caption-description">
							{$slide.description nofilter}
						</div>
					{/if}					
				</li>
			{/foreach}
		</ul>
	</div>

Hoping you can help me.

Thank you very much

 

Link to comment
Share on other sites

I don't think it's a template issue, but a variable issue. Somehow there are multiple entries with the same url. You should probably check the database and see how they are saved. If they are correct there, then it's gonna have to be debugged line by line, to see where it fails.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...