startspan removed from webbot when page saved

  • Thread starter AboutWebsiteHosting.com
  • Start date
A

AboutWebsiteHosting.com

Includes were working fine sitewide, now they don't. Includes work on
pages that we have not touched recently.

Any page that we open and then save stops includes from working.
Includes do not work on any new pages we create since this problem
started yesterday. We always work live on server (rather than
publishing).


I've been troubleshooting here and it appears, perhaps, a FrontPage
extensions issue?


I'm unable to get include webbot to work on test page:
http://www.realty360tour.com/test_include.htm
The included content appears in FrontPage preview, but not when page
is viewed in browser.


An advanced FrontPage user gave me this feedback...


Somehow, the code was messed up on publishing. Let me show you the
incorrect code on the offending pages:


<!--webbot bot="Include" u-include="realestate_dwt/
include_top_buttons.htm" tag="BODY" -->
<!--webbot bot="Include" u-include="realestate_dwt/
include_bot_global.htm" tag="BODY" -->


and here is the correct code on the pages that work properly:


<!--webbot bot="Include" u-include="realestate_dwt/include_top.htm"
tag="BODY" startspan -->
<!--webbot bot="Include" u-include="realestate_dwt/
include_bot_global.htm" tag="BODY" startspan -->


Notice the difference in the two - the incorrect pages do not contain
"startspan" - which is part of the proprietary code used by FrontPage
to make these things work properly. You can't fix it by copying the
code, because this is published code, which differs from the raw code
you see on the page in HTML/Code view.


It appears to be the lack of the "startspan" that is causing the
problem.


Anyone out there have a solution for this problem?
 
R

Ronx

If you are viewing the code in FrontPage code view, then "startspan"
should not be visible - if it is there is definitely an error. The code
snippets you have appear to be correct for code view, but, as you say,
not for the browser View Source.

Try opening the site and running Tools->Recalculate Hyperlinks from the
FrontPage menu.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top