Answer the question
In order to leave comments, you need to log in
Why is only one drawing displayed?
Hello!
There is such code in the view.
{foreach name=thumbProject from=$thumbProjects item=thumbProject}
<div class="row">
<div class="col mb-1">
{foreach name=project from=$projects item=project}
{if ($thumbProject->id == $project->thumbprojectId)}
{if $smarty.foreach.project.first}
<a class="fancybox-thumbs" title="{$project->title}" data-fancybox-group="thumb{$smarty.foreach.thumbProject.iteration}" href="/images/projects/{$project->projectFoto}">
<img class="d-block w-100 kursor" src="/images/projects/thumbs/{$thumbProject->thumbFoto}" alt="{$thumbProject->thumbTitle}" />
</a>
{else}
<a class="fancybox-thumbs" title="{$project->title}" data-fancybox-group="thumb{$smarty.foreach.thumbProject.iteration}" href="/images/projects/{$project->projectFoto}">
</a>
{/if}
{/if}
{/foreach}
</div>
</div>
{/foreach}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question