I have to display in each page footer, links to Twitter, Facebook, G+ ..... so I included in my globals.php the following repeatable region:
I was trying to display the infos this way, but without any luck:
What I'm doing wrong?
- Code: Select all
<cms:repeatable name='sn' label='Social networks' >
<cms:editable name='name' label='Network name' col_width='100' type='text' />
<cms:editable name='link' label='Link to network' col_width='200' type='text' />
<cms:editable name='logo' label='FontAwesome network logo' col_width='200' type='text' />
</cms:repeatable>
I was trying to display the infos this way, but without any luck:
- Code: Select all
<cms:show_repeatable 'sn' >
<a href="<cms:get_custom_field 'link' masterpage='globals.php' />"><i class="<cms:get_custom_field 'logo' masterpage='globals.php' />"></i></a>
</cms:show_repeatable>
What I'm doing wrong?