Quote:
Originally Posted by Chuck S The code your posting is from vb2 part.
You need to turn back on the vb3 integration and just add the header2 line as noted in the file in that other thread and make a header2 template in vb and it works. |
Ok, I'm really not getting this at all, and don't understand why it's not working for me. Here are the steps I have taken so far after your last post Chuck:
1. Turned on Vb3 integration
2. Added header2 in my VbAdmin area (Note, my header2 is completely different that
Vb "header" so I know if and when it starts working.
3. changed my header-inc.php line# 297 to add this line:
eval('$header = "' . fetch_template('header2') . '";');
Here is a copy of the code from my header-inc.php:
if ( VB2_INTEGRATION == "on" )
{
chdir($vbpath);
require("global.php");
ob_start();
eval("dooutput(\"".gettemplate('headinclude')."\",0);");
$bodytag="<body>";
echo dovars($bodytag,0);
$vbheader="<head>";
$vbheader.=ob_get_contents();
$vbheader.="{ppheader}</head>";
ob_end_clean();
ob_start();
eval('$header = "' . fetch_template('header2') . '";'); $vbheader.=ob_get_contents();
ob_end_clean();
ob_start();
eval("dooutput(\"".gettemplate('footer2')."\",0);");
$vbfooter=ob_get_contents();
ob_end_clean();
chdir($pppath);
}
What am I missing? It is still not reading my header2???