Folder-based navigation
-
I appreciate your help with the following:
I’m curious how Matt, Zeldman and others are accomplishing the folder-based navigation? On these sites, they have a nav bar which points to a folder, i.e.:/archives/. I know how to change the paths and create the folders, etc. I have even got some of this working. Example:
I created folders for an “about” page, a “links” page, and an “archives” page. I modified the mainindex.phpto include only what was needed for these particular pages. I copied these into their respective folders and named them eachindex.php. I modified the naivation to point to just the folder names. I also changed the path towp-blog-headers.phpto point outside the new folder strcuture; simply added a.to the front of the path.
The “about” and “reading” pages worked just fine, but the “archives” page simply refreshed the mainindex.phpof the site; did not display the archives.
Perhaps my method is not even the best way to accomplish the folder-based navigation; it certainly didn’t work as I intended.
Anyone have a suggestion for me? Perhaps this would also be of interest to others.
TIA
<rb>
BTW: I switched my site back to the non-folder based nav.
The topic ‘Folder-based navigation’ is closed to new replies.