This topic is locked

Header and Footer are deleted

2/27/2010 9:29:26 PM
PHPRunner General questions
J
Jepsen author

My output dir is directly to the final destination on the server
Every time I include a new table to my project, PHPR whipes out my header.php and footer.php om said project. And that is rather inconveniant.
I can modify and build my project as often as I want. Header and footer is not affected. But if I include a new table, they are whiped out.
This also appears to happen to ad-on editors etc that I have included in my project. Is there a fix?
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=13928&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' />

Sergey Kornilov admin 2/28/2010

Since PHPRunner allows you to modify header and footer via Visual Editor it stores header.php/footer.php in the project folder overwriting those you have in the output directory.
I recommend to put your header and footer files to 'visual' subdirectory under project directory.

S
sepakbola 3/3/2010

Should I put code : <html> <body> ... </body> </html> in every header.php and footer.php ??

Or just code ex: <div> ... </div> etc

thanks .. but sorry if I'm putting the question here.

S
Sun 3/3/2010



Should I put code : <html> <body> ... </body> </html> in every header.php and footer.php ??

Or just code ex: <div> ... </div> etc

thanks .. but sorry if I'm putting the question here.


here is the code which i have used in one of my project. you may use it as an example
file header.php

code:
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff>

<TBODY>

<TR>

<TD width=163><IMG src="images/gcc-logo.jpg"></TD>

<TD background=images/top-logo-green-bg.jpg width=467><IMG

src="images/home-green-GCC-text.jpg"></TD>

<TD

background=images/top-logo-green-bg.jpg>&nbsp;</TD></TR></TBODY></TABLE>