Smarty Array Articles Anywhere

<div class="item-list"> {articles category="{if is_array($ARRAY_VALUES)} {foreach from=$ARRAY_VALUES key=k item=i name=whatever} {$k} {if $smarty.foreach.whatever.last}{else}, {/if} {/foreach} {/if}" } <div class="item">[title]</div> {/articles} </div>
I use Pro version of *articles anywhere* Joomla Plugin to display content of Joomla table #__content.

{articles category="x"}[title]{/articles}

1 Response

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.