Guestbook
Templating
This guestbook was designed to be seamlessly included into the rest of a sites design, with little effort.
If you want to template the look of your guestbook, follow the steps below.
- The first things you need to do, is create header and footer code for use with the guestbook. Open a HTML page which you want the guestbook to integrate into.
-
Select the text from the top of the file, until you reach the part where content starts.
Copy this text, and paste it into the top of the guestbook.php, below the
<?php ob_start(); ?> line.
- If you have already have files such as header.php and footer.php, then you can include this into the top and bottom of your guestbook.php otherwise continue to step 3.
- From the bottom of your HTML page, select the text up until the page content will end. Paste this into the very bottom of the guestbook.php file
- Save the file, and view it from a browser. You should see the guestbook page looking like the rest of your site.