Jump to content
Tomcikas

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}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More