map not showing when using category menu

Re: [rez] map not showing when using category menu

By rez - March 30, 2011 - edited: March 30, 2011

btw, on a different page the category menu seems to work fine with just:

<?php header('Content-type: text/html; charset=utf-8'); ?>
<?php

// load viewer library
$libraryPath = 'cmsAdmin/lib/viewer_functions.php';
$dirsToCheck = array('/home/myfolder/public_html/','','../','../../','../../../');
foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}
if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }


// load records
list($nav_menuRecords, $nav_menuMetaData) = getCategories(array(
'tableName' => 'nav_menu',
'categoryFormat' => 'showall', // showall, onelevel, twolevel
));

?>


this is cmsb 2.07

Re: [rez] map not showing when using category menu

By robin - March 30, 2011

Hey Rez,

Perhaps your category menu is resetting the $record variable? Otherwise could you post or send your full code to support@interactivetools.com so we can take a closer look.

Thanks,
Robin
Robin
Programmer
interactivetools.com