Forum

Thread tagged as: Question, Problem

Perch Runway - Image Slider Issue

Hi,

I need a little help. Can anyone see what is wrong with this?

<perch:repeater id="images" label="Images">
    <div data-src="<perch:content id="sliderImage" type="image" label="Slider Image">" >
        <div class="camera_caption fadeFromBottom cap1">
            <perch:content id="sliderSlogan" type="text" label="Slider Image Slogan">
        </div>
    </div>
</perch:repeater>

It is working expected when I add the images in the backoffice and slogons but when it is rendered to page non of the information is coming through.

It renders to this.

<div data-src="" >
     <div class="camera_caption fadeFromBottom cap1">       
     </div>
</div>

I have deleted the region and re added but I cannot get it to work.

HELP!!!!!

Dennis Pickworth

Dennis Pickworth 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Your tags are malformed.

This:

<perch:content id="sliderImage" type="image" label="Slider Image">

should be:

<perch:content id="sliderImage" type="image" label="Slider Image" />

https://docs.grabaperch.com/docs/templates/tag-structure/

Many Thanks Drew.

I spent several hours looking at it but missed the obvious!

Cheers Dennis