6
Quote:
francis wrote:
Look for renderNav in the code.
If you want to determine how many figures should be displayed before the tree dots (ex.: 5):
$xoopsTpl->assign('pagenav', $pagenav->renderNav(5));
Sample above is an example for news/article.php. Default value if not set is 4.
Within the mydownloads and mylinks module this provided piece of code doesn't work. There isn't a pagerenderNav. Also the code is different.
viewcat.php.
$xoopsTpl->assign('page_nav', $page_nav);
Simply put:
$xoopsTpl->assign('page_nav', $page_nav->renderNav(5));
gives an error.
What should be the correct piece of code for these modules?
Grtz., Shine