Link to home
Start Free TrialLog in
Avatar of PaulKorzycki
PaulKorzycki

asked on

Frontpage templates

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!
Avatar of KenAdney
KenAdney

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.
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.
Avatar of PaulKorzycki

ASKER

Is there a way to do a server side include *other* than ASP?  My provider charges a hefty fee for ASP services.
ASKER CERTIFIED SOLUTION
Avatar of AvocadoIsle
AvocadoIsle

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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.
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.