Solved

Frontpage templates

Posted on 2002-04-16
7
270 Views
Last Modified: 2013-12-24
I would like to create a template for my site with the logo and the main buttons.  I would like for each page subsequently created to have this banner at the top, but I would rather not have to recreate the banner each time, and if the banner changes, I want to avoid to have to manually edit each page.

I want to avoid the use of ASP, or anything dynamic.  I would like to pages to remain static, but for Frontpage to recreate the pages each time the template changes.

I'm using FP2000.

Thanks in advance!
0
Comment
Question by:PaulKorzycki
7 Comments
 
LVL 10

Expert Comment

by:KenAdney
ID: 6946221
I think you could do your design layout & then set it up as a Shared Border.  After you've done your layout, try Format...Shared Borders.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6947788
Shared borders is about the only way. However, you're locking yourself into using FrontPage, which may or may not be a good thing.

Shared borders in FP are not really the best solution, IMHO, and if you have anyone who edits pages outside of FP, it will completely fall apart. The best solution is a server side include of some kind, if you have that capability on your server.

Then you truly have only one file that creates the headers, and it doesn't matter what is used to edit the pages.

It's not that shared borders don't work, but you should be aware of the limitations.
0
 

Author Comment

by:PaulKorzycki
ID: 6947825
Is there a way to do a server side include *other* than ASP?  My provider charges a hefty fee for ASP services.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 2

Accepted Solution

by:
AvocadoIsle earned 100 total points
ID: 6947969
Paul -

You can use server-side includes if your provider supports them.  Chances are, they do.  For example, to include a header file (HTML with your logo, etc.)

<!-- #include file="yourheader.html" -->

and make sure all the pages wich include this file have the shtml extension.

Also, you could use FrontPage includes:

Insert/Web Component../Included content/Page

from the main menu and create the header page separately.  Front page will take care of including the content and display it as a visible compenent in edit mode.

HTH
0
 

Author Comment

by:PaulKorzycki
ID: 6948165
Thanks for all of the help everyone!  I think the server side include option is the best one for me, this way I don't have to recreate the files.  I had to play with it a little bit to see if my provider supports it, and it turns out that it *does* work only if there is no space between "<!--" and "#include".  Funny, since having the space *does* work under IIS!

Thanks again,

Paul
0
 
LVL 2

Expert Comment

by:AvocadoIsle
ID: 6948219
Thanks for the points Paul.  Sorry I left out the little detail about the space.  I program server side in ASP so it's always IIS platforms for me.  Another bit of info about the includes:  If you use the above method, make sure you specify the correct path if you have pages at differing directory levels, or, you can use the relative method like this:

<!--#include relative="/includefiles/myheader.html"-->

Where the includefiles directory is off the root of the web.  This will then work for any page you place it in, independent of it's directory level.  If all your pages are at the same directory level the first method will work just fine.
0
 

Author Comment

by:PaulKorzycki
ID: 6948245
I'm going to also play with the FP component include that you mentioned, because I realized that the Search WebBot doesn't like files named ".shtml"

Thanks for the kick in the right direction.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question