Webbers Corner

Full Version: Help with a navagation system need a way to mass change.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, if you take a look at the following url: http://www.canadafreepress.com/

and look at the navigation to the left under CFP Columnists, that tab is being constantly updated, but whenever we update that we must update all our 6000 pages!

Which as you might of guested takes a hell of a long time.

Is there anyway to modify this or use a different navigation, that maybe uses php or javascript (really anything) that will let us mass change this navigation without having to update all 6000 pages?

Thanks, Dani
sure there is.  i assume you are not using a cms if you have to update everypage?

in the template file of that page put

[code]<?php include 'nav.php'; ?>[code/]

then just create a page called nav.php and upload it. then whenever any page with that code loads it will import that file.  it is similar to iframes but a lot better.

Dave Wrote:
sure there is.  i assume you are not using a cms if you have to update everypage?

in the template file of that page put

[code]<?php include 'nav.php'; ?>[code/]

then just create a page called nav.php and upload it. then whenever any page with that code loads it will import that file.  it is similar to iframes but a lot better.


can i just put any code into the php file? it doesnt half to have the right syntax or anything?

Reference URL's