Forum Moderators: open

Message Too Old, No Replies

Shared Borders Obsolete in Front Page.

Replace with DWT or Included Content?

         

Spanish Fiestas

12:48 pm on Feb 19, 2005 (gmt 0)

10+ Year Member



I'm reading everywhere that shared borders are obsolete in Front Page but I don't understand whether the replacement should be dynamic web templates or included content or a mixture of the two.

One problem I'm going to have is that I'll have to remove shared borders throughout the site. However, if I work on a page by page basis, removing a single shared border in FP 2003 removes that border from every page on the site. To remove just the one I have to revert to FP 2000.

bill

2:17 pm on Feb 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



FrontPage has a better way to include your information on multiple pages throughout the site, the Include Page [webmasterworld.com] component. The shared borders get a bad reputation for introducing a lot of questionable code and their relatively difficult maintenance. Compared to the flexibility and control you get with the Include Page, the shared borders aren't worth it to most advanced FP users.

Spanish Fiestas

3:05 pm on Feb 19, 2005 (gmt 0)

10+ Year Member



Thanks Bill

So I can forget about DWT if I take the Include Page option?

I see the advantage of using DWTs in an environment where a number of people might be separately adding new content to a site but in my case this doesn't apply.

Is there a quick way to replace all shared borders with an Include Page?

bill

1:48 am on Feb 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The dynamic web templates are limited to Windows SharePoint enabled servers to the best of my knowledge. That limits you in hosting options, so it's more difficult to have a portable site. Include pages are a function of FP and don't depend on the server at all. Dynamic web templates certainly do have their place in large organizations where you can use FP as a development platform or CMS. If this is for a site you're maintaining yourself then DWT might be a bit more than you need.

If you have FP2003 the Search & Replace function is a lot more powerful. You can do site-wide code replacement quite easily. I haven't tried this with Shared Borders though. If that's not up to the job I'm sure there are plenty of free or low-cost text/HTML editors out there that could handle the job.

europeforvisitors

7:34 am on Feb 20, 2005 (gmt 0)



I haven't noticed "a lot of questionable code" on my own pages with shared borders when viewing the source code in a Web browser. I guess it might make sense to use includes if you're starting off with a fresh site, but if you're already using shared borders and they're working, why not leave well enough alone?

Spanish Fiestas

7:39 am on Feb 20, 2005 (gmt 0)

10+ Year Member



Great so that's my main worry cleared up.

Any thoughts on the other point:

"removing a single shared border in FP 2003 removes that border from every page on the site. To remove just the one I have to revert to FP 2000."

Also -

When the SE spider visits a page which has included content does it read all the content of the left navigation bar or does it go straight to the main content of the body text? I ask this to help me decide whether to use text links in the navigation or image links.

Spanish Fiestas

7:45 am on Feb 20, 2005 (gmt 0)

10+ Year Member



Sorry, forgot to comment on "If they're working why not leave well enough alone?"

This is appealing but as stated previously I have this problem of when removing one border on one page they disappear throughout the site which is annoying and time consuming.

Also, reading around the forums I get the impression that shared borders will not remain an option in future releases of FP so I'd rather move to include content sooner rather than later.

bill

9:09 am on Feb 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



> questionable code
Here's what the moderator of this forum said about the code generated by Shared Borders a few years ago:
> 8) Shared Borders

Never, ever use the Shared Border feature of FP, it should not even be an option. If the user tries to insert a shared border, they should get shocked or something!

The code that FP generates for the msnavigation elements are extremely bloated. I've seen pages that had a text to html ratio of less than 10%. View the source code and get a message saying that the file is too big for Note Pad, wonderful!

The FP Includes function just like any other include and they work without FP server extensions. I've been using them for over 6 years without fail and they perform very well. You just have to know how to use them in conjunction with all the other preferences.

Things to be aware of when using FrontPage [webmasterworld.com]

I know that europeforvisitors has several thousand pages that are working just fine with Shared Borders, but he knows what he's doing, and unfortunately he seems to the exception when it comes to Shared Border usage. If you're at the stage in your site development where you could switch to Include Pages, then I'd highly recommend you consider that option. In your initial post it did seem that Shared Borders were the culprit, so unless you're comfortable with the current state of your site you should seriously consider this change.

Keep in mind that whether you use Shared Borders or Include Pages, the important thing is that it's useful to you. If it speeds up your site maintenance and doesn't create invalid or bloated code, then by all means use it.

> When the SE spider visits a page which has included content...
Included content is just plain HTML placed within your page. The spiders will read it in the order that you place it in your page. If you're using a source ordered table-less CSS layout, then you can control the exact order your page content will be read. If you're using a table layout with a left-hand navigation, then you may have to play around with the old table trick [webmasterworld.com] if you want your content to come before the navigation elements.

europeforvisitors

2:11 am on Feb 21, 2005 (gmt 0)



I have this problem of when removing one border on one page they disappear throughout the site which is annoying and time consuming.

Does that occur even if you choose "For this page only" when removing the border?

Spanish Fiestas

8:56 am on Feb 21, 2005 (gmt 0)

10+ Year Member



Yes it does occur when selecting "this page only". I assure you I am using them correctly as I have done for 5 years.

When I revert to FP2000 the exact same process works perfectly.

Wlauzon

7:14 am on Feb 26, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



"The dynamic web templates are limited to Windows SharePoint enabled servers to the best of my knowledge..."

Not so. As long as you have the FP extensions it works fine. In fact, I don't think you even need those - all the DWT does is act like a big include file, so all the stuff is done on your end. The DWT is not even used on the server.

bill

5:50 am on Feb 27, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've read that the DWT are the recommended way to handle things rather than Shared Borders going forward.

The DWT is not even used on the server.
There are references to problems with using DWT on servers with the 2002 extensions or earlier, so I assumed there was some interaction. That's good news then because most of my sites reside on servers without FP extensions of any sort. I'm going to have to find some time to test DWT out.

I did find an article on Microsoft's site that you might be able to use: Convert a Web site from Shared Borders to Dynamic Web Templates [office.microsoft.com]

Wlauzon

9:56 am on Feb 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



One of our FP sites is on a Yahoo server, which only has the FP 2002 extensions. We have never had any problems with DWT's there. A few other things in 2003 don't work, but most of them we don't ever use anyway, or use some other editor (like for flash or DHTML menus etc.).

bill

9:44 am on Mar 1, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Is anyone using DWT successfully on a server without the FP extensions or SharePoint?