View Full Version : signup.php within a table
hostaddict
11-03-2003, 10:11 AM
Hi All,
I'm in the process of customizing CE signup page. I would like to know if it is possible to include it inside a table?
Thanks
VertiHost
11-03-2003, 10:56 AM
yup,
just include it inside a table with a <? include("clientexec/signup.php"); ?> and delete the header and footer tags from signup.php.
hostaddict
11-03-2003, 03:36 PM
Thanks a bunch, it worked. Could you please tell me which line to comment out to get rid of the template header and footer?
Thanks again
mdadnan
11-08-2003, 11:34 AM
i made a test file and inserted line <? include("clientexec/signup.php"); ?> inside a tabel.
but all I am getting many warnings and fatal errors. some of them are:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/fhlinux193/w/ccccc.com/user/htdocs/webhost/test.php:7) in /home/fhlinux193/w/ccccc.com/user/htdocs/webhost/client/signup.php on line 2
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/fhlinux193/w/ccccc.com/user/htdocs/webhost/test.php:7) in /home/fhlinux193/w/ccccc.com/user/htdocs/webhost/client/signup.php on line 2
Warning: main(classes/settings.php): failed to open stream: No such file or directory in /home/fhlinux193/w/ccccc.com/user/htdocs/webhost/client/common/varDefinitions.php on line 198
can someone please explain briefly where and how should the file be inserted and which comments we should edit from signup.php or possibly post as an attachment.
Thanks
mdadnan
11-08-2003, 11:56 AM
btw when it says no such file exists in error messages, it doesn't mean I have placed it in a wrong folder.
File exists in the right folder but still giving errors.
hostaddict
11-08-2003, 01:03 PM
Don't use the include, Just slipt your HTML between the two .tpl files (header and footer) and that will do. if you need it inside a table put the opening table html tag in thr header file and the closing html tag in the footer. It's that simple :)
mdadnan
11-08-2003, 03:16 PM
I will try that and thanks alot because I was going totally the other way. :)
TXO Hosting
11-08-2003, 06:13 PM
In login_header.tpl, after the below:
<html>
<head>
<link rel="Shortcut Icon" href="{CLIENTEXECURL}/favicon.ico" />
<link rel="stylesheet" type="text/css" href="templates/{TEMPLATE}/style/style.css">
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
<script language="JavaScript" src="javascript/overlib.js"><!-- overLIB (c) Erik Bosrup //--></script>
<script language="JavaScript" src="javascript/common.js"><!-- common javascript functions //--></script>
<script language="JavaScript" src="javascript/checkform.js"><!-- common javascript functions //--></script>
<title>{pageTitle}</title>
</head>
place your header html code such as:
<body>
<table>
<tr>
<td>
your header info here!
</td>
</tr>
</table>
Then open a table to CE:
<table><tr><td valign=top>
and close that file.
Then open up login_footer.html and close the above table with:
</td>
</tr>
</table>
<table>
<tr>
<td>
your footer info here!!
</td>
</tr>
</table>
</body>
</html>
You'll need to specify your table and tr widths of course.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.