I dunno if this is possible but if it is someone please tell me. I have like 30 pages and its a pain to go to each one and edit it.
I dunno if this is possible but if it is someone please tell me. I have like 30 pages and its a pain to go to each one and edit it.
Create a PHP file with the content you need to edit, such as a navigation menu and name it menu.php.
For each individual page, create PHP files instead of HTML (they work the same way) and where the content in menu.php should go, add the following line instead:
Upload all of the files into the same directory. When you edit menu.php, all files calling to menu.php will be updated at once.Code:<?php include("menu.php"); ?>
For now, you will need to edit each one adding the PHP lines.
Click here to learn more about PHP Includes.
Best regards,
Brian Yang - TechAirlines
How am I doing? Click thestar button at the bottom left to rate this post. Thanks.
Terms of Service | Account Portal | Wiki
Perhaps you are seeking a content management system like Joomla where you can pull up a list of pages in a single window and then select the one you wish to edit. I would guess that most individuals and organizations with large websites containing lot's of content use some type of CMS .
In a nutshell, you're stuck with editing all thirty by hand. Of course if you had a copy of Dreamweaver it's fairly easy to do. Don't recall if the Bluefish HTML editor(free open source alternative) performs a similiar global search and replace across pages, so that might be well worth a look.
The code must flow.
Project 157: Latest UK Jobs direct to your mobile phone
New Domain under construction: Lovelogic.net
home for some new projects that we can't keep here ;)