Jump to content
xisto Community
Sign in to follow this  
jlhaslip

Php Menu Bulding Script And Site Template available for download

Recommended Posts

A Php Menu-builder Tutorial

This Sidebar Menu-builder code and the php scripts are adapted from a Tutorial on the Xisto.com Forum titled :

The primary purpose for making this template available is to provide a learning experience, not to provide
coders with the end product. Admittedly, this Template is very basic and is not meant to be 'cut and pasted'
into a web site, but rather, to be used as a learning tool to provide you with the means to build your site using templating concepts which makes the maintenance of a site easier, and the presentation more consistent across pages. Some html/css knowledge would be required to make changes to the files, but very little.

Just a reminder to make any modifications on a 'copy' of the files so if you alter something critical to the
function of the code, you will have an un-modified version to resume your work from.

Happy coding.

Zip File Contents

For the Basic Template use :
index.php
header.php
menu.php
main.php
footer.php

For the Sidebar Version use :
index2.php
header.php
menu2.php
main.php
footer.php
sidebar.css

Download the sample files here

A sample of the original menu code is available in the file named
menu.php
To build the menu inside a template using php includes as per vujsa's Tutorial:
index.php
To sample an unstyled 'sidebar menu' : menu2.php
To build the Basic Template with the a styled sidebar menu :
index2.php
To alter the css for the index2.php: sidebar.css

Using these files on your Local Computer requires a version of php installed and the files resident in your
"localhost" path. Instructions for the use or installation of php is beyond the scope of this article.
Google on "xammp" or "wamp" to find out more about those two packages.

Download Zip file Here


Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.