Ronald B Stamets Website Design and Development Corner of logo

Ronald B Stamets, Web Site Design and Development Services

top content bar
Home Website design Domains & Hosting E-Commerce Additional Services Contact Us About Us Web Design Tutorials FAQ Pay Bill Site Map Request Estimate

Creating Your Easy Managed Website Template

Are you ready to put it all together?  Here is where the magic occurs!

Open your editor. Copy and paste the code in the box into it. Save it in the MYSITE folder as PAGE_TEMPLATE.php

Here is what you are telling the server to do.

--- Start parsing php
--- Activate my includes file so all of my function files are active.
--- Display my header and menu from my output_fns file.

--- Then stop parsing php because we have put our own html here to create unique content. (<td> </td></tr>Here are the missing table cell and Row 2 end tags we skipped earlier)
--- Ok Mr. Server start parsing again and display my html footer.

 

<?php
include ('includes_fns.php');
display_html_header();
display_menu();
// Now stop parsing php so we can use static html.
?>
         <TD ALIGN="left" VALIGN="top">
<!-- START YOUR CONTENT BELOW THIS -->




CONTENT: You can put tables, cells, images, whatever you want in this area




<!-- CONTENT ENDS ABOVE THIS -->
        </TD>
   <!-- END ROW 2 -->
   </TR>

<?php // Start php again to parse the footer
display_html_footer();
?>
 

You should now have the following in your MYSITE folder.
images folder
default.html
includes_fns.php

output_fns.php
PAGE_TEMPLATE.php

IF YOU ARE MISSING ANY GO BACK TO REVIEW AND CORRECT THE PROBLEM BEFORE PROCEEDING FURTHER.

If all is  well, you can upload your MYSITE folder to your server's root directory.

Open your favorite browser and go to your ip address or www.domain. open MYSITE/PAGE_TEMPLATE.php

It should look like the example at /MYSITE/PAGE_TEMPLATE.php.  If it doesn't and you have what appears to be an unresolvable problem, don't be afraid to contact us.  We want you to succeed and will respond to your email.


Previous Page Return To Main Index Next Page

:::Key Notes:::

Remember - Your Root Directory is where your home page resides on your server.

If you open your home page with a domain name, you would open MYSITE with

http://www.yourdomain.com
/MYSITE/PAGE_TEMPLATE.php

If you do not have a domain name and use the actual IP Address, it would be something like

http://127.0.0.1
/MYSITE/PAGE_TEMPLATE.php

(Obviously your IP Number will be different)

Need Help?

home
 
Website Design
 
Domains Hosting
 
ECommerce
 
addl services
   
Contact Us
 
About Us
 
Tutorials
 
Design FAQ
 
Pay Bill
 
site map