Jump to content

widget_block does't work


Recommended Posts

I want to use ps_linklist module. And I want to make and use two different layout templates in two different places at StarterTheme, but I what try to do it not working. I found this code, but it does't work to. It prints empty array. Sorry for my poor English skills :)

{widget_block name="ps_linklist"}
{$linkBlocks|print_r}
{foreach $linkBlocks as $linkBlock}
    <ul>
        {foreach $linkBlock.links as $link}
            <li>
                <h4><a href="{$link.url}">{$link.title}</a></h4>
                <p>{$link.description}</p>
            </li>
        {/foreach}
    </ul>
{/foreach}
{/widget_block}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...