Hello,
I’m rather new to expression engine and have enjoyed it so far. I’m having a bit of difficulty with templating though. I have two channels, one called “gallery” and one called “front_slider” and they are both configured to groups of channel fields and both work for adding content.
My problem is when I call them on the templates I get bleed-over from the other channel. There are 2 items in the gallery and 2 items in the front_slider yet when I perform the loop I get 4 items on both page.s
From the Gallery template:
{exp:channel:entries channel=”gallery”}
<li class="{gallery_style}">
{gallery_image}
<a href="http://{path}/{filename}.{extension}" title="{gallery_name}">" class="plusbg"]_ {path}_galthumb/{filename}.{extension}</a>
{/gallery_image}
<div class="thumb-description">
<span class="thumb-title">{gallery_name}</span>
{gallery_description}
</div>
</li>
{/exp:channel:entries}From the Home page template:
{exp:channel:entries channel=”front_slider”}
<div class="slide">
<a href="http://{link_to}" target="blank" rel="noopener">{image}</a>
<div class="caption">{caption}</div>
</div>
{/exp:channel:entries}This is wreaking havoc as you may see, the isotope gallery I’ve placed in the site is screwing up because of two blank items, and the front slider is acting up because of the blank slides.
Is there something apparent that I’m doing horribly wrong here (in relation to this)?
Kevin