- This topic is empty.
-
AuthorPosts
-
February 8, 2004 at 6:00 am #584517AnonymousGuest
Ok, a little background.
I do my html all on notebook.
Everytime I want to add something to the menu, or whatever, just anything I want to put on every page, I have to go through every singe page *…..copy…..open……past……save…..upload…..open…..past…..save……upload….open……past……save…..upload…..open…..past…..save……upload….open……past……save…..upload…..open…..past…..save……upload….open……past……save…..upload…..open…..past…..save……upload….
you get the idea……-by the time I’m through, my mouse hand is numb-
Is there any utility that will do this……something that actually works without screwing up the html, using an ftp uploader without any bells or whistles.
February 8, 2004 at 6:16 am #644507AnonymousInactiveRather than looking for a utility that will allow you to do these mass edits, you could avoid the whole issue by using a server side method to share the common parts of your pages in one file instead of many.
If your server runs PHP, you can change the filenames to end in ‘.php’, and include this bit of code on each page, to include a shared menu page…
[php]
include(‘menu.php’);
?>
[/php]That way, menu changes involve changing only one file, and all of your pages are immediately updated.
February 8, 2004 at 8:54 am #644509AnonymousGuestThanks!
I have my book “Build Your Own Database Driven Website Using PHP & MySQL” handy here…….
And my server runs PHP, which is why I chose it, because I knew I wanted it for some reason.
Imagine editing one page for all menus.
:bigsmile:
February 8, 2004 at 7:51 pm #644522AnonymousInactivePHP is great for menus etc. as you change it once and the changes will migrate all pages calling the php file.
One thing to watch for…
Eliminate all head tags on the php page thats being called, otherwise you will end up with two titles, descriptions, meta tags etc. in the source code which may confuse any visiting spiders.
Good luck with this!
-
AuthorPosts