Question regarding the menu on web site
I have to upgrade old web site, the one big problem is menu on the right side.
It has at least 20 menu buttons - pages, and when they need to do simply update, they need to update each (20) pages.
I would like to put something, which will remove that each page has it's own menu, something like single file to update and that will reflect to all pages.
What is the best thing to do, can you give me some directions, links, or any help.
I can provide more info, just let me know.
You need a server side include. What kind of server side scripting do you have? SSI? Perl? PHP?
what is the best way to put this because I am not so familiar with PHP
You'll need to rename your pages with a ".php" name extensions, or you can change that with the serer configurations. Put your menu in a file in your root and use something like:
<?php @include $_SERVER['DOCUMENT_ROOT'].'/menu.inc' ?>
Thanks for that, I will sure try that, can I ask you what will happen to those pages with integrated menu, How will they look after I remove menu form subpages.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread