[eluser]Boris Strahija[/eluser]
Just a question. I have some code like this:
Code:
{kr:content:entries panel="blog" limit="10"}
<h2>{title}</h2>
{content}
{/kr:content:entries}
How exactly do I achieve this with Simpletags?
The call looks something like this:
Code:
$tags->parse($content, $view_data, array($this, 'parser_callback'));
What should the callback function return? If it returns an array it causes an error.
Is it even possible with Simpletags, when the parser encounters a tag like, it fetches the articles from the database and returns them to the loop.
Thank you.