Quote:
12-04-02 at 01:29 AM Tigga said this in Post #196
alkatraz - No, that wouldn't be hard at all. At the very bottom of the myvbindex.php file look inbetween the following lines:
PHP Code:
if ($showcustom2) {
$getbgrow=getrowcolor();
eval("\$custom2 = \"".gettemplate('index_custom2')."\";");
}
And:
PHP Code:
$getbgrow=getrowcolor();
eval("dooutput(\"".gettemplate('index')."\");");
?>
In that space you can add code for it to call more custom templates. You would just add something like the following:
PHP Code:
eval("\$custom3 = \"".gettemplate('index_custom3')."\";");
The variable $custom3 there can be called whatever you would like and would be what you would use in the index template to call that template. Then the part index_custom3 should be renamed to whatever you are calling your new template. Also, if you would like to be able to use the $getbgrow function in that template to alternate between your firstaltcolor & secondaltcolor, you should add the following above that code as it is with the others.
$getbgrow=getrowcolor();
|
That is in my include.php file not myvbinde file. also you need to include $custom3 in the index template as well where you want the table to show up.