Files in the package:
-1- contrpanel.php
-2- additem.php
-3- delitem.php
-4- mystyle.php (arrange the style to your need)
-5- setup.php (with options that can be arranged to your neds)
-6- data.csv (contains the menuitems)
-7- menu.htm (.htm file generated)
Put always the .php and the data.csv files in the same directory.
*******************************************************************
The setup.php file contains the following:
<?
#put as $filename the value you need; if you need a menufile with name MyMenu.php then: $filename = "MyMenu.php";
$filename = "menu.htm";
#put as $csstyle the value you need; if you need to use your.css then: $csstyle = "your.css";
$csstyle = "mystyle.css";
#this is the path where the menu file is saved/called by the menubuilder. Note that this directory have to be chmoded to writable.
#if you need to write the menufile in another directory change this to your
need. Now it will be written in the same directory where
#the other files are installed.
$mymenu_path = "";
?>
*******************************************************************
menu.htm is the file where the menu appears. This file is also INCLUDED (include("menu.htm"))
in the control panel file (contrpanel.php)
*******************************************************************
contrpanel.php is the manages all. Start it and build your menu
*******************************************************************
************************ How to installs: *************************
1 Put the data.csv and the .php files in a directory (must be writeble if you
write the menu.htm in it;
2 Arrange the settings in the file setup.php (and arrange if you want the styles);
3 Start contrpanel.php and generate your menu;
6 include the menu.htm where you need it;
*******************************************************************