$listpages problem
Hi, everybody!
I'd like to create a new category which displays the articles in an own style. In tiki-show_page.tpl I'd like to use this:
{section name=ix loop=$listpages}
{$listpages[ix].parsed_heading}
{/section}
But it does nothing. My tiki-show_page.tpl doesn't know the listpages variable. I tried to include the tiki-view_articles.php because in this file there is this row:
$listpages = $tikilib->list_articles($offset, $maxArticles, $sort_mode, $find, $pdate, $user, $type, $topic, 'y', '', $categId, $_REQUEST['lang']);
If I include the tiki-view_articles.php in my tiki-show_page.tpl in the browser I can see this(I made a new wiki page and categorized it):
Fatal error: Call to a member function assign() on a non-object in mydomain\tiki-view_articles.php on line 28. This contains:
$smarty->assign('msg', tra("This feature is disabled").": feature_articles");
Has anybody got an idea or solution for my problem? I hope I was clear.
By the way I use windows.
Thanks!