31
tzvook
Re: Defacer 1.0 alpha is released for feature requests
  • 2010/4/1 17:59

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


Hey trabis

Long time

Found a bug and a fix in defacer.
When I had more then 15 Meta pages - the "Meta Manager" got blank (right after the tabs) ... a few tests showed it was the "$metacount" function at /admin/admin_meta.php which calls a missing file ( include_once XOOPS_ROOT_PATH.'/class/metanav.php )

Here is the fix (with the original lines eliminated by the "//TZ")
lines 59 - 68 at my "/admin/admin_meta.php" version

if ($metacount 0){
        if (
$metacount $limit) {
//TZ            include_once XOOPS_ROOT_PATH.'/class/metanav.php';
//TZ            $nav = new XoopsmetaNav($metacount, $limit, $start, 'start', 'op=list');
//TZ            $xoopsTpl->assign('pag',''.$nav->renderNav().'
');
            include_once XOOPS_ROOT_PATH.'/class/pagenav.php';
            
$nav = new XoopsPageNav($metacount$limit$start'start''op=list');
            
$xoopsTpl->assign('pag',''.$nav->renderNav().'
');
        }else{
            
$xoopsTpl->assign('pag','');


Hope it'll be of use for someone ....

There's probably a need to see if the same bug exist in the "Theme manager" and in the "Permission Manager" - I havn't reached 16th in there .... so I don't know ....

Login

Who's Online

158 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 158


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits