Lionel
05-22-2005, 01:02 AM
I am trying to display a different left menu for one specific category and its children.
In browselinks.php I did at the very top, 10 being the main category and * for anything else that comes after, but I can't get it to work. Is that possible at all?
define('VBA_PORTAL', true);
if (in_array($catinfo['parentlist']='*,10'))
{
define('VBA_PAGE', 'speciallinks');
}
else {
define('VBA_PAGE', 'linksdirectory');
}
and also tried at the bottom right after
$minlimit = number_format($minlimit);
$maxlimit = number_format($maxlimit);
$countlinks['count'] = number_format($countlinks['count']);
$myspeciallinks =array($catinfo['parentlist']='*,10');
define('VBA_PORTAL', true);
if (in_array('myapeciallinks'))
{
define('VBA_PAGE', 'speciallinks');
}
else {
define('VBA_PAGE', 'linksdirectory');
}
In browselinks.php I did at the very top, 10 being the main category and * for anything else that comes after, but I can't get it to work. Is that possible at all?
define('VBA_PORTAL', true);
if (in_array($catinfo['parentlist']='*,10'))
{
define('VBA_PAGE', 'speciallinks');
}
else {
define('VBA_PAGE', 'linksdirectory');
}
and also tried at the bottom right after
$minlimit = number_format($minlimit);
$maxlimit = number_format($maxlimit);
$countlinks['count'] = number_format($countlinks['count']);
$myspeciallinks =array($catinfo['parentlist']='*,10');
define('VBA_PORTAL', true);
if (in_array('myapeciallinks'))
{
define('VBA_PAGE', 'speciallinks');
}
else {
define('VBA_PAGE', 'linksdirectory');
}