Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
hi all
have slider with this code:

Code: Select all
<cms:show_repeatable "slides">
   <cms:capture into='slide_link_url'>
      <cms:if link_source = '1'>

         <cms:templates show_hidden='0'>
            <cms:pages masterpage=k_template_name id=link_inside skip_custom_fields='1'>
               <cms:show k_page_link />
                  <cms:set slide_target = '_self' />
            </cms:pages>
         </cms:templates>

      <cms:else_if link_source = '2' />
         <cms:show link_outside />
         <cms:set slide_target = '_blank' />
      <cms:else_if link_source = '3' />
         #
         <cms:set slide_target = '_self' />
      </cms:if>
   </cms:capture>

   <li>
      <a href="<cms:show slide_link_url />" target="<cms:show slide_target />"> <---- ????
         <img src="<cms:show slide_image />" data-src="<cms:show slide_image />" />
      </a>
   </li>

</cms:show_repeatable>


in output I have:
Code: Select all
<a href="<cms:show slide_link_url />" target="<cms:show slide_target />">


question, how to get slide_target from <cms:capture into='slide_link_url'> ?
Set it as 'global'.
Code: Select all
<cms:set slide_target = '_self' scope='global' />
2 posts Page 1 of 1

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 5 guests

cron