This topic is locked

I created 4 files header.php, footer.php, lefter.php, righter.php

7/22/2009 11:35:11 AM
PHPRunner General questions
S
siro author

Question about phprunner 5.0
I created 4 files header.php, footer.php, lefter.php, righter.php

I put all 4 files in include folder, header.php and footer.php are working, and the other 2 files lefter.php and righter.php are not working.

do I have to do some configaratiom to make them work?
I need 4 files header.php, footer.php, lefter.php, righter.php because i will them for 4 options like:
header.php is for logo
lefter.php is for left side menu
righter.php is for right side menu
footer is for visitor counter
I put all 4 files in include folder, header.php and footer.php are working, and the other 2 files lefter.php and righter.php are not working.

this is the code I used {$header} {$footer} {$lefter} {$right}

Can somebody help me please

Sergey Kornilov admin 7/22/2009

You only need two files (header and footer) for this purpose.
Check "How to integrate PHPRunner application into existing website" tutorial at http://www.xlinesoft.com/phprunner/php-database.htm for more info.

S
siro author 7/22/2009

You only need two files (header and footer) for this purpose.

Check "How to integrate PHPRunner application into existing website" tutorial at http://www.xlinesoft.com/phprunner/php-database.htm for more info.


I need 4 files header.php, footer.php, lefter.php, righter.php because i will them for 4 option like:
header.php is for logo
lefter.php is for left side menu
righter.php is for right side menu
footer is for visitor counter
I put all 4 files in include folder, header.php and footer.php are working, and the other 2 files lefter.php and righter.php are not working.

this is the code I used {$header} {$footer} {$lefter} {$right}

Sergey Kornilov admin 7/22/2009

You really need to watch this tutorial.

H
horsey_kim 7/22/2009

On a few sites I have used tables for a layout
I know everything should be css. But I like it that way.
So in my header file - I start my table and create the cells I need for my header/logo and a cell for my left menu of my website and end it with a <td> (for the php runner page that is created)
Then in my footer I put another </td> and then if I have a side bar menu cell and my footer cell and close off the table.
It works great and I have two files to maintain.
Kim

S
siro author 7/22/2009

On a few sites I have used tables for a layout

I know everything should be css. But I like it that way.
So in my header file - I start my table and create the cells I need for my header/logo and a cell for my left menu of my website and end it with a <td> (for the php runner page that is created)
Then in my footer I put another </td> and then if I have a side bar menu cell and my footer cell and close off the table.
It works great and I have two files to maintain.
Kim


Hi Kim
I created my own template, but I used phprunner code, when I put header.php and footer.php in include folder they are working,

why the other 2files lefter.php and righter.php are not working in include folder

S
Shankar 7/22/2009

You really need to watch this tutorial.


If I remember correctly, the tutorial explains how to integrate a header and footer NOT a lefter and righter - that's what the guy is asking and why he is frustrated at your patronizing response.
Shankar

Sergey Kornilov admin 7/22/2009

If you actually watched the tutorial you'd see that using two files (header and footer) and can implement footer, header, left, right and all other parts of the template.
Do not confuse appearance (left, right, top etc) with the way how it's stored physically on file system.
Kim explained exactly the same thing in post above.

S
siro author 7/23/2009

If you actually watched the tutorial you'd see that using two files (header and footer) and can implement footer, header, left, right and all other parts of the template.

Do not confuse appearance (left, right, top etc) with the way how it's stored physically on file system.
Kim explained exactly the same thing in post above.



it is not the way I want it, I want to know the function code for 2 files header and footer, and then I will make more include files.