Thanks for your nice reply. Very sorry Logician to hear that, but I am personally wishing you best of luck with your job...I know the feeling.
Now, where exactly do I add "$headinclude"? I tried adding it to my header and to the template and it didn't work. Also I am using "no parent template" option.
Here is how I use this:
(Parse method is PHP)
Code:
include("/home/httpd/vhosts/MYSITE.com/httpdocs/scripts-includes/top.php");
include("/home/httpd/vhosts/MYSITE.com/httpdocs/scripts-includes/newsletter-google.php");
$userid=$bbuserinfo['userid'];
$usrObj=new users($userid);
$username=$usrObj->getUsername();
print("$popupthepm");
$mesg=$_POST[mesg];
if(!$mesg)
$mesg=$_GET[mesg];
echo <<<TOP
<div align="center">
<table border="0" width="100%" cellpadding="0" style="border-collapse: collapse">
<tr>
<td width="1"> </td>
<td bgcolor="#FFFFFF"><strong><font class=mesg>
$mesg</strong>
</tr>
TOP;
echo <<<MAIN
<!----------- BEGIN HTML ----------->
lalalalala MY HTML goes here
<!----------- /HTML ----------->
<table border="0" width="100%" cellspacing="7" cellpadding="5" bordercolor="#C0C0C0">
<tr>
<td class="thead" align="left">Page
Visitors: <b>$count</b>, Last Visitor was $WT[lastvisitorname]
at $WT[lastvisitdate].<br>
Page Created at <b>$creationdate</b>, Last Modified
: <b>$lasteditdate</b>.</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
MAIN;
echo <<<BOTTOM
</table>
</div>
BOTTOM;
include("/home/httpd/vhosts/MYSITE.com/httpdocs/scripts-includes/footer-newsletter.php");
Mayeb you can take a look at it.
Quote:
Originally Posted by Logician
It does IF you include "$headinclude" variable into your webtemplate/webtemplate theme you are using. You probably didnt do this
|