Old 19-02-2007, 11:55   #1 (permalink)
DWaluck
Registered User
 
Join Date: Feb 2007
Posts: 2
Menu!

I need help.

I am very proud of my website .. however I have one problem. I am constantly adding new content and updating menu items. This is great, a website that has continuous new information is of great interest to many people however it is a design nightmare.

What I want is to have a nested menu on each page of the site for ease of navigation. However, when I update and add content, I want to go to one place to add the item to the navigation rather than having to update every page of the site.

I have looked at CSS and JavaScript options and do not find one that has this capability. I have considered Frames.. but this is not practical (and I really hate frames )

Any suggestions would be appreciated.
Thanks!

Danielle
  Reply With Quote
Old 19-02-2007, 12:27   #2 (permalink)
kwills
Now Freelance!
 
kwills's Avatar
 
Join Date: Aug 2006
Location: Warrington, UK
Posts: 479
Sounds like PHP includes are the way to go. Have your navigation in a single PHP file and include it in your webpage(s). When you need to add/remove a link, edit the single PHP file and it will affect each page within your site that it is linked to.

Here you go : http://www.hardcoder.com/scripting/p...lude_files.php
  Reply With Quote
Old 19-02-2007, 14:20   #3 (permalink)
DWaluck
Registered User
 
Join Date: Feb 2007
Posts: 2
THANK YOU!

I knew I was missing something... I love PHP, why I didn't think of that I'll never know

Thanks again
  Reply With Quote
Old 20-02-2007, 03:26   #4 (permalink)
kwills
Now Freelance!
 
kwills's Avatar
 
Join Date: Aug 2006
Location: Warrington, UK
Posts: 479
No Probs
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8