View Full Version : HTML Peeps
AbecX
01-25-2003, 10:51 AM
Alright, lets say I have a side panel menu system thats in its own table inside a table like on http://abecx.net. How can I setup...... perhaps a php script ( I think I just answered my own question ) to update all the pages? I bet I could just do a include('menu') or something and have it update all my pages. DUH!
If anyone has any input lol feel free to help?
( Sometimes you just have to think out loud! )
chris
01-25-2003, 10:54 AM
I probably can help, IM me with questions.
DarkWolf
01-25-2003, 03:04 PM
include() or require() would definitely be the easiest way. That's how I've got my menus and site wide elements (copyright statements, section "tab" menus, etc) set up on Lethal Death, and my site.
It's a pain in the ass to switch at first, since you have to go and modify all the pages ... but once you're done, all you ever have to change again, is the one file you're including, and every page that includes that file is updated automatically. I got in the habit of copy/paste real quick :D
FlowJack
01-26-2003, 11:38 AM
Server Side Includes are your friend...I always use them for headers, site layout, footers, and navigation systems.
You could always setup a database with parent and child categories, looping through them to display them on the fly if i will need that kind of maintainance in the future.
vBulletin v3.0.6, Copyright ©2000-2008, Jelsoft Enterprises Ltd.