template code... {$digestview->setResultMax(4)} {$digestview->setUserId(1)} {foreach from=$digestview->generateDigestByCategory(2) item=post} {$post->getTopic()}
{$post->getText()|strip_tags:false|truncate:70:"..."}
{/foreach}