Manually Editing Pages
Manually Create a Page or Group of Pages
- Copy the entire directory "W:/templates/folder/" to a new location on the W: drive.
- Rename the folder to something concise and meaningful.
- In your new folder, open "menuitems.inc.php" in a decent text editor (i.e. notetab light.)
- In menuitem.inc.php, set the values of $Base_Dir and $Menu_Title.
- Follow the detailed instructions below to create the menu system.
- TIPS:
- Do not use MS Word to edit webpages.
- If you don't know what software to use, see Chris.
- Only use approved HTML code.
- If the wrong page loads when you click a link or the 'current' menu item does not point to the right page: make sure the 'position' values in the file's header matches that in menuitems.inc.php.
- Come to your senses and decide to use the wizard instead!
Menu System Details
1. Using the template in menuitems.inc.php, edit or add a "MenuItem"
entry for each page that you want linked from the menu.
- The numeric value of $item->position determine order of menu items.
- Provide a page title and short title to be used in the menu system.
- Provide relative paths to the files in $item->path variable.
2. Create the files that are listed in $item->path variables.
- Use the supplied templates and change file names.
- Copy existing files and rename as needed
- IMPORTANT: open each file and edit the variables in the header. Ensure that the value of $position in the header
is equal to the value of $item->position for each MenuItem you create in menuitems.inc.php!
3. To create subpages:
- Put all pages related to that MenuItem and its children in one subfolder.
- Create a "Parent" MenuItem, as instructed above.
- IMPORTANT: the path to the Parent Item must be "[SubFolderTitle]/index.php".
- Use the template for SubMenuItems (below) to develop the submenu system.
- each subitem must point to its parent MenuItem
- the 'position' value will determine the order of the subitems
- provide relative paths to the referenced files
- IMPORTANT: you must ensure that the values of $Parent and $SubPosition in the referenced file
are equal to the values of $subitem->parent $subitem->subposition
for each SubMenuItem you create!