Forum Moderators: mack
I am now trying to be a bit more forward thinking in making some changes to the site navigation method. If I ever desire to make changes to the global navigation, touching 200+ pages by hand and re-uploading each page individually onto my host (that's the worst part...) is going to be crazy. Well, to be honest, I'd rather do it now before it doubles in size again, thus I have spent some time looking into some options. The main option I have considered is JavaScript, but I don't like the reduction in not just bot friendliness but also in handicap accessibility.
Am I just crazy to be trying to maintain something like this in a standard text editor these days and/or is there some method other than JavaScript that is more user and bot-friendly that I could implement?
If you have a global search and replace function it can simplify this process a lot.
The big thing is to get your link path patterns down solid before you go to far. Spending the time to preplan link paths is critical. You may really need to stare into your crystal ball for this one, but it's well worth the effort.
I keep asking for a crystal ball for Christmas, but I haven't gotten one, yet! The more time I have spent thinking about this issue over the holiday, the more I feel committed to my current path, and it's very nice to hear from someone doing this on a larger scale than I can {currently} fathom my site becomming.
My text editor on steroids is a big help...I can have hundreds of tabs open at once and it has a global search and replace function.
Recently I've started experimenting with Modx, a cms that allows me to manage things dynamically with much of the same control I have when writing static html pages.
I can't imagine going back to not using includes, and having to update every single page by hand. I too use a great text editor that lets me do global find-and-replace within a site, but I don't want to have to do that, and I don't want to have to upload every single file in the site just because I added a new item to the navigation.
From one single admin page I can alter bread crumbs, top links, footer links, copyright text and so on. When I have made changes in the code I simply just click one button to update all the .html files.
It only takes about one second.