Documentation
Project Links
Source: osCMax Docs - Thanks to michael_s
Under this on line 19:
define('TEMPLATENAME_MAIN_PAGE', 'main_page.tpl.php');
Add this:
define('TEMPLATENAME_MAIN_PAGE2', 'main_page2.tpl.php');
Next, after this block of code (lines 43-50):
case 'main':
// default or main_page
if(is_file(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE)) {
$path = (DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE);
} else {
$path = (DIR_WS_TEMPLATES_FALLBACK . TEMPLATENAME_MAIN_PAGE);
}
break;
Add this:
case 'main2':
// default or main_page
if(is_file(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE2)) {
$path = (DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE2);
} else {
$path = (DIR_WS_TEMPLATES_FALLBACK . TEMPLATENAME_MAIN_PAGE);
}
break;
include (bts_select('main', $content_template)); // BTSv1.5
To this:
include (bts_select('main2', $content_template)); // BTSv1.5
* This tells that page to load the new main_page2.tpl.php instead of main_page.tpl.php.