Guestbook and Included Pages

T

Tom Hilleary

I am trying to integrate a guestbook into a FP2003 site.
The submitted messages get properly apended to the remote site's _private/guestlog.htm file (I can open it and read the entries).

The line that should insert that file into the viewed page:
<!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" -->
is in the local site, correct as far as I can see.

But the published site never includes the guestlog.htm file. In fact, the published site source code, when viewed, shows no sign of this intent to insert the guestlog.htm file.

Any ideas?

Local code follows:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<title>Guest Log and Comments</title>
<meta name="Microsoft Theme" content="network 0011, default">
</head>
<body>
<p></p>
<p>Still developing this part....</p>
<hr>
<form method="POST" action="--WEBBOT-SELF--" onsubmit="location.href='_derived/nortbots.htm';return false;" webbot-onsubmit>
<!--webbot bot="SaveResults" u-file="_private/guestlog.htm" s-format="HTML/BR" s-label-fields="TRUE" s-builtin-fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT Date Time" startspan b-reverse-chronology="TRUE" s-date-format="%A, %B %d, %Y" s-time-format="%I:%M:%S %p" s-email-address="(e-mail address removed)" s-email-format="TEXT/PRE" B-Email-Label-Fields="TRUE" --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
<h2><strong>Add Your Comments</strong></h2>
<p><textarea name="Comments" rows="8" cols="52"></textarea></p>
<p><input type="submit" value="Submit Comments">
<input type="reset" value="Clear Comments"><br>
</p>
<p> </p>
</form>
<p> </p>
<p> </p>
<!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" --><p> </p>
<p> </p>
<hr>
<h5> </h5>
</body>
</html>
 
S

Stefan B Rusynko

You have apparently edited your guestbook form to include Email

All you should have in your local version in FP html/code view is:

<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" u-file="_private/guestlog.htm" s-format="HTML/DL" s-label-fields="TRUE" s-builtin-fields="Date Time
REMOTE_USER" s-form-fields -->
<h2><strong>Add Your Comments</strong></h2>
<p><textarea name="Comments" rows="8" cols="52"></textarea></p>
<p><input type="submit" value="Submit Comments"> <input type="reset" value="Clear Comments"><br><br>
<em>After you submit your comments, you will need to reload this page with your browser in order to see your additions to the
log.</em></p>
</form>
<!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" -->
<hr>





| I am trying to integrate a guestbook into a FP2003 site.
| The submitted messages get properly apended to the remote site's _private/guestlog.htm file (I can open it and read the entries).
|
| The line that should insert that file into the viewed page:
| <!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" -->
| is in the local site, correct as far as I can see.
|
| But the published site never includes the guestlog.htm file. In fact, the published site source code, when viewed, shows no sign
of this intent to insert the guestlog.htm file.
|
| Any ideas?
|
| Local code follows:
| <html>
| <head>
| <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
| <meta http-equiv="Content-Language" content="en-us">
| <title>Guest Log and Comments</title>
| <meta name="Microsoft Theme" content="network 0011, default">
| </head>
| <body>
| <p></p>
| <p>Still developing this part....</p>
| <hr>
| <form method="POST" action="--WEBBOT-SELF--" onsubmit="location.href='_derived/nortbots.htm';return false;" webbot-onsubmit>
| <!--webbot bot="SaveResults" u-file="_private/guestlog.htm" s-format="HTML/BR" s-label-fields="TRUE" s-builtin-fields="REMOTE_NAME
REMOTE_USER HTTP_USER_AGENT Date Time" startspan b-reverse-chronology="TRUE" s-date-format="%A, %B %d, %Y" s-time-format="%I:%M:%S
%p" s-email-address="(e-mail address removed)" s-email-format="TEXT/PRE" B-Email-Label-Fields="TRUE" --><input TYPE="hidden"
NAME="VTI-GROUP" VALUE="0"><!--webbot bot="SaveResults" endspan i-checksum="43374" -->
| <h2><strong>Add Your Comments</strong></h2>
| <p><textarea name="Comments" rows="8" cols="52"></textarea></p>
| <p><input type="submit" value="Submit Comments">
| <input type="reset" value="Clear Comments"><br>
| </p>
| <p> </p>
| </form>
| <p> </p>
| <p> </p>
| <!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" --><p> </p>
| <p> </p>
| <hr>
| <h5> </h5>
| </body>
| </html>
 
S

Stefan B Rusynko

Open your online site in FP and the guestbook.htm page
- in Design View the right click the Include Page webbot and check the properties (browse to the correct location) - save the page
and try File Preview in Browsers (clear your browser cache first)
- also run a Tools Recalculate Hyperlinks



| Same outcome.
| After publishing and adding a few guestbook entries, I can go into the remote (published) _private/guestlog.htm file and see those
changes and additions. They just do not show up on the guestbook page as accumulated comments.
| It is as if the last bit of code:
| <!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" --><hr>
| has no effect
| Thanks for the help,
|
|
| "Stefan B Rusynko" wrote:
|
| > You have apparently edited your guestbook form to include Email
| >
| > All you should have in your local version in FP html/code view is:
| >
| > <form method="POST" action="--WEBBOT-SELF--">
| > <!--webbot bot="SaveResults" u-file="_private/guestlog.htm" s-format="HTML/DL" s-label-fields="TRUE" s-builtin-fields="Date
Time
| > REMOTE_USER" s-form-fields -->
| > <h2><strong>Add Your Comments</strong></h2>
| > <p><textarea name="Comments" rows="8" cols="52">
 
T

Tom Hilleary

OK, based on your suggestion, I manually placed the line,
'<!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" --> '
in the guestbook.htm page and things started working.

The webbot apparently gets eliminated during the publishing process - is this normal that one needs to go out and manually 'touch up' the live remote site and re-insert entire lines of code?

Thanks for your assistance.
 
T

Thomas A. Rowe

What are your publishing option settings?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Tom Hilleary said:
OK, based on your suggestion, I manually placed the line,
'<!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" --> '
in the guestbook.htm page and things started working.

The webbot apparently gets eliminated during the publishing process - is this normal that one
needs to go out and manually 'touch up' the live remote site and re-insert entire lines of code?
 
T

Tom Hilleary

I have all of the Optimize HTML boxes checked except the two under 'Generated HTML'.

On the Publishing Tab, I have the following checked:
Changed pages only
Include subsites
Determine changes by comparing...
Log changes...
 
S

Stefan B Rusynko

Unselect them all in Optimize HTML !
(especially the Author Time and Run Time Web Components)
- they are stripping the webbots required for your run time components to work under the FP SE

Those features should ONLY be selected if you know what you are doing, and Publish to a NON FP SE site

If you ever reverse publish (from remote online to local PC) you will wipe out all design time components locally (themes, shared
borders, nav bars, etc)
- reducing your FP local site to nothing more than a collection Raw Html pages!




| I have all of the Optimize HTML boxes checked except the two under 'Generated HTML'.
|
| On the Publishing Tab, I have the following checked:
| Changed pages only
| Include subsites
| Determine changes by comparing...
| Log changes...
|
|
|
| "Thomas A. Rowe" wrote:
|
| > What are your publishing option settings?
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > WEBMASTER Resources(tm)
| >
| > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| > ==============================================
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >
| > | > > OK, based on your suggestion, I manually placed the line,
| > > '<!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" --> '
| > > in the guestbook.htm page and things started working.
| > >
| > > The webbot apparently gets eliminated during the publishing process - is this normal that one
| > needs to go out and manually 'touch up' the live remote site and re-insert entire lines of code?
| > >
| > > Thanks for your assistance.
| > >
| > > "Stefan B Rusynko" wrote:
| > >
| > > > Open your online site in FP and the guestbook.htm page
| > > > - in Design View the right click the Include Page webbot and check the properties (browse to the
| > correct location) - save the page
| > > > and try File Preview in Browsers (clear your browser cache first)
| > > > - also run a Tools Recalculate Hyperlinks
| > > > --
| > > >
| > > > _____________________________________________
| > > > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > > > "Warning - Using the F1 Key will not break anything!" (-;
| > > > To find the best Newsgroup for FrontPage support see:
| > > > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > > > _____________________________________________
| > > >
| > > >
| > | > > > | Same outcome.
| > > > | After publishing and adding a few guestbook entries, I can go into the remote (published)
| > _private/guestlog.htm file and see those
| > > > changes and additions. They just do not show up on the guestbook page as accumulated comments.
| > > > | It is as if the last bit of code:
| > > > | <!--webbot bot="Include" tag="BODY" u-include="_private/guestlog.htm" --><hr>
| > > > | has no effect
| > > > | Thanks for the help,
| > > > |
| > > > |
| > > > | "Stefan B Rusynko" wrote:
| > > > |
| > > > | > You have apparently edited your guestbook form to include Email
| > > > | >
| > > > | > All you should have in your local version in FP html/code view is:
| > > > | >
| > > > | > <form method="POST" action="--WEBBOT-SELF--">
| > > > | > <!--webbot bot="SaveResults" u-file="_private/guestlog.htm" s-format="HTML/DL"
| > s-label-fields="TRUE" s-builtin-fields="Date
| > > > Time
| > > > | > REMOTE_USER" s-form-fields -->
| > > > | > <h2><strong>Add Your Comments</strong></h2>
| > > > | > <p><textarea name="Comments" rows="8" cols="52">
| > > >
| > > >
| > > >
| >
| >
| >
 

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

Similar Threads

FP2003 Guestbook 2
FP2003 Guestbook Problem 1
Duplicate Records 3
Guestbook operation 2
Guestbook Not Working ? 7
guestbook html fault 3
My FP Guestbook doesn't work. 1
form and confirmation not working 1

Top