Hi all,
I have a template name "news" its working fine with below repeatable code on same page.
But if I cut below code and paste it in my snippets it not working any more!
Kindly guide me why show_repeatable code not working on snippet ? is its require to call masterpage? if so what is the code?
Thanks
I have a template name "news" its working fine with below repeatable code on same page.
- Code: Select all
<?php require_once( 'couch/cms.php' ); ?>
<!--News Start -->
<cms:repeatable name='my_news' >
<cms:editable
type='nicedit'
label='Description'
name='my_news' />
</cms:repeatable>
<!--News End -->
<cms:show_repeatable 'my_news' >
<p><cms:show my_news /></p>
</cms:show_repeatable>
<?php COUCH::invoke(); ?>
But if I cut below code and paste it in my snippets it not working any more!
- Code: Select all
<cms:show_repeatable 'my_news' >
<p><cms:show my_news /></p>
</cms:show_repeatable>
Kindly guide me why show_repeatable code not working on snippet ? is its require to call masterpage? if so what is the code?
Thanks