[thelist] Simple PHP techniques for building navigation

Chris Heilmann lists at onlinetools.org
Wed Mar 2 08:39:28 CST 2005


> I would like to build a set of navigational links on a series of pages
> which are generated using php.
>
> What I want is scripting that is executed at the beginning of the page
> load that figures out where the page is in the site structure and then as
> it builds the navigational links applies that variable to create correct
> relational links. Is there a  simple script set (a function to figure out
> where the file is , a function to create the links relationally back to
> the main pages in the Web site) which will give me a leg up on getting
> this done? Any pointers to simple scripts?

I am using this:

http://www.onlinetools.org/tests/easynav/
which uses
http://www.onlinetools.org/tests/easynav/nav.html
and is
http://www.onlinetools.org/tests/easynav/easynav.txt

-- 
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/



More information about the thelist mailing list