PHP Code:
// Set variables for this page
if ($mode=='') {
$newsforum = '3, 5, 8, 9';
$page = '';
} elseif ($mode=='chevy') {
$newsforum = '3';
$page = 'chevypage';
eval("\$home_custom_mews = \"".gettemplate('home_custom_news')."\";");
eval("\$home_custom_mewsbits = \"".gettemplate('home_custom_newsbits')."\";");
} elseif ($mode=='ford') {
$newsforum = '5, 8';
$page = 'fordpage';
} elseif ($mode=='dodge') {
$newsforum = '9';
$page = 'dodgepage';
} else {
$newsforum = "$newsforum";
$page = '';
}
I tried doing this and it still doesn't work. When I call mode=chevy, it does use the home_extra_chevypage template, but the news part is blank.