Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
cms show repeatable not working . nothing appears in admin page no matter how many times you refresh (i have logged in to admin page while refreshing page)



Code: Select all
<cms:show_repeatable 'slide_images' startcount='0' >
     
        <div data-src="<cms:show slide_images />">
          </cms:show_repeatable>
          <div class="camera_caption fadeIn">
            <div class="container">
            <cms:show_repeatable 'slide_imagestext' startcount='0' >
              <div class="txt1"><cms:show slide_imagestext /></div>
              <div class="txt2"></div>
               </cms:show_repeatable>
Please check your definitions in the <cms:template> block.

I feel you have defined the repeatable region and the image editable with the same name, i.e. slide_images.

so suggestively:
Code: Select all
<cms:repeatable name='slide_images'>
     <cms:editable name='slide_imagesImg' type='image' />
     <cms:editable name='slide_imagestext' type='image' />
</cms:repeatable>

in your <cms:template> block.

And to display in frontend:
Code: Select all
<cms:show_repeatable 'slide_images' startcount='0' >
     <div data-src="<cms:show slide_imagesImg />">
</cms:show_repeatable>
<div class="camera_caption fadeIn">
     <div class="container">
          <cms:show_repeatable 'slide_images' startcount='0' >
               <div class="txt1"><cms:show slide_imagestext /></div>
               <div class="txt2"></div>
          </cms:show_repeatable>
     </div>
</div>


Please let us know if this works.

Regards,
GenXCoders
Image
where innovation meets technology
2 posts Page 1 of 1