Forum Moderators: open
Since the website has already become large, is there a simple way of updating all the pages with this kind of a footer, keeping in mind that this footer would be changed again in a few months.
Can i update this footer regularly without manually changing the footer message on every single page?
Thanks
Then every time he updates the bottom border (footer), it will update on all pages in the web.
If this works for you, just open any page, click on Format, scroll down to "Shared Borders" and create the bottom footer you are talking about. Then you can elect to have it on just that page or all pages. I recommend that you save a copy in a "spare" file, just in case you goof it up.
Then, you will want your _borders file to show up in your "Folders" view of the site when you open it. Since _borders is a "hidden" file, when in the "Folders" view you need to click on "Tools" scroll down to "Web Settings", click on the "Advanced" tab and check the box next to "Show Hidden Files and Folders"...
At that time, you will be prompted to "Refresh" the web with a question box saying "Do you want to do this now?" and you click "yes." Your web will refresh and the _borders file will show up in your "Folders" view of the web.
If you elect to have the bottom _border display on all pages of the web, any time you update it on one page, it will update throughout your web site on all pages.
(It would be much easier to provide recommendations if you had your website listed in your profile or you just mentioned it in the post).
"Shared Borders"
(It would be much easier to provide recommendations if you had your website listed in your profile or you just mentioned it in the post)
Once the site gets pretty large, it is much easier (once you get used to it) to see the site by looking at the "Folders" view.
I'll look at FrontPage includes, as I haven't tried that yet.
Sorry I didn't realize he couldn't mention his site name. I'll read the rules.
However, the type of include you're looking for would be a PHP include or a Server Side Include (SSI). Either of those types of includes would work they way you indicate. The downside is that these types of includes won't show in the WYSIWYG editor. You can certainly use these with FP, but keep that in mind.
First, create your footer page, let's call it footer.htm.
Now open one of the site's pages. In design view scroll down to the end of the page where you want the footer to appear. Depending on which version of FP you use, choose "Insert > Included Page" or "Insert > Web Component > Included Content > Page" or whatever.
After the page is inserted change to code view. Assuming you included the page before the closing </body> tag it should look something like this:
<!--webbot bot="Include" u-include="inserts/footer.htm" tag="BODY" -->
</body>
Copy this to a Notepad file, be sure to include the </body> tag.
Delete the included page you just included so you don't get a double include in the next operation. Close all pages.
In the left-hand Folder List pane click once on the top level site folder to highlight it.
Choose "Edit > Replace." Under "Find what" enter </body>. Copy the code from the Notepad file into the "Replace with" pane. Under search options select "All Pages," click "Replace All" and let it rip.
On second thought, you might want to try this on a small set of pages first. Highlight a handful of pages in the Folder List, then choose "Selected Pages" under the Replace Search Options.
You're basically replacing the existing </body> tag with the webbot call and a new body tag.