Small issues with editing in Frontpage...

H

Herb Martin

1) Every time I have a 'webbot include' and hit save my
next lines (carefully formatted) get sucked up onto the end
of the webbot comment.

Can I make it stop?

BTW: Adding a non-breaking space   seems to work
but unfortunately can change the layout of a design.

2) Webbots intended to include in the "<head>" don't operate,
even though there is a tag= specifier (normally set to BODY)
that would hint this would be allowed by changing it to HEAD.
Doesn't work.

Can I include a SIMPLE TEXT file within an arbitrary location
of my main HTML file?

3) What's the value in the include "replacement text"? Doesn't
seem worth much but maybe I didn't use it right yet...
 
J

Jens Peter Karlsen[FP MVP]

1. What version of Frontpage?
2. You are correct. That wont work.
3. Yes, you can include a text file.
4. Say that you have a phone number on each page. If you change
Phonenumber you will have to edit every page. With Replacement text you
can write say "myphonenumber" and FP will insert the phonenumber. If
your phonenumber then changes, you just change it in one place and all
pages are updated automatically.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
T

Thomas A. Rowe

The FP Include Component can only be used to insert content in the body of the page, and then it
will only include the content that is between the body tags of page being included in other pages.
This page to be included must have the basic standard set of HTML tags, so a simple text file is not
going to work.

There are no settings to control how it is placed in a page, however inserting the Include Page
component into a table/cell might be the solution to your issue.

Never used the "Replacement Text" function/component so I can not help you with that.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
H

Herb Martin

Jens Peter Karlsen said:
1. What version of Frontpage?

FP 2003 SP1

Excuse me, I know better than that -- just assumed it was
obviously the latest version but that doesn't really help you
answer.
2. You are correct. That wont work.

? Include bot for said:
3. Yes, you can include a text file.

Just plain text? No <html> or <body> tages?

Just want the text dropped into that location as if I wrote it there.
4. Say that you have a phone number on each page. If you change

I probably missed the place where you DEFINE these. Good for
phones, copyright dates (except I use an include footer) etc.

Will this stuff (replacement text) work in the said:
Phonenumber you will have to edit every page. With Replacement text you
can write say "myphonenumber" and FP will insert the phonenumber. If
your phonenumber then changes, you just change it in one place and all
pages are updated automatically.

Cool -- I wanted that today, but wanted it for the <HEAD> portion
mostly.

--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
-----Original Message-----
From: Herb Martin [mailto:[email protected]]
Posted At: 1. juni 2005 07:17
Posted To: microsoft.public.frontpage.client
Conversation: Small issues with editing in Frontpage...
Subject: Small issues with editing in Frontpage...


1) Every time I have a 'webbot include' and hit save my next
lines (carefully formatted) get sucked up onto the end of the
webbot comment.

Can I make it stop?

BTW: Adding a non-breaking space &nbsp; seems to work but
unfortunately can change the layout of a design.

2) Webbots intended to include in the "<head>" don't operate,
even though there is a tag= specifier (normally set to BODY)
that would hint this would be allowed by changing it to HEAD.
Doesn't work.

Can I include a SIMPLE TEXT file within an arbitrary location
of my main HTML file?

3) What's the value in the include "replacement text"?
Doesn't seem worth much but maybe I didn't use it right yet...



--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
 
H

Herb Martin

Thomas A. Rowe said:
The FP Include Component can only be used to insert content in the body of the page, and then it
will only include the content that is between the body tags of page being
included in other pages.

That is what I found -- but it was tempting to try since the bot has
a TAG=BODY attribute that LOOKED like it might have been
planned to support an include of other tags/elements.
This page to be included must have the basic standard set of HTML tags, so a simple text file is not
going to work.

I have found it to be so, except that you don't need to have a <HEAD></HEAD>
set. This works:

<html>
<body>
something you wish to include
<.body>
</html>

I have not attempted to drop the said:
There are no settings to control how it is placed in a page, however inserting the Include Page
component into a table/cell might be the solution to your issue.

My problem is not with the actual composite page -- that works.

My problem is with the way it messes up the format (obvious
bug, minor but really irritating) of the including file (master).

It sucks the next line up tight, and sometimes several.

I don't care what it looks like when someone does "view source"
but editing files is much easier if they are carefully formatted.
Never used the "Replacement Text" function/component so I can not help you
with that.

I think I just need to find where to DEFINE the tags (before
trying to use them.)


--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

1) Every time I have a 'webbot include' and hit save my
next lines (carefully formatted) get sucked up onto the end
of the webbot comment.

Can I make it stop?

BTW: Adding a non-breaking space &nbsp; seems to work
but unfortunately can change the layout of a design.

2) Webbots intended to include in the "<head>" don't operate,
even though there is a tag= specifier (normally set to BODY)
that would hint this would be allowed by changing it to HEAD.
Doesn't work.

Can I include a SIMPLE TEXT file within an arbitrary location
of my main HTML file?

3) What's the value in the include "replacement text"? Doesn't
seem worth much but maybe I didn't use it right yet...



--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
 
R

Ronx

My problem is with the way it messes up the format (obvious
bug, minor but really irritating) of the including file (master).

It sucks the next line up tight, and sometimes several.

There is no cure for that - it was reported as a bug during the public
Office 2003 beta.
Any HTML comment produces the same behaviour (regardless of code
format settings), it does not have to be a Webbot.
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

Herb Martin said:
Thomas A. Rowe said:
The FP Include Component can only be used to insert content in the
body of the page, and then it
will only include the content that is between the body tags of page
being
included in other pages.

That is what I found -- but it was tempting to try since the bot has
a TAG=BODY attribute that LOOKED like it might have been
planned to support an include of other tags/elements.
This page to be included must have the basic standard set of HTML
tags, so a simple text file is not
going to work.

I have found it to be so, except that you don't need to have a
<HEAD></HEAD>
set. This works:

<html>
<body>
something you wish to include
<.body>
</html>

There are no settings to control how it is placed in a page,
however inserting the Include Page
component into a table/cell might be the solution to your issue.

My problem is not with the actual composite page -- that works.

My problem is with the way it messes up the format (obvious
bug, minor but really irritating) of the including file (master).

It sucks the next line up tight, and sometimes several.

I don't care what it looks like when someone does "view source"
but editing files is much easier if they are carefully formatted.
Never used the "Replacement Text" function/component so I can not
help you
with that.

I think I just need to find where to DEFINE the tags (before
trying to use them.)


--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

1) Every time I have a 'webbot include' and hit save my
next lines (carefully formatted) get sucked up onto the end
of the webbot comment.

Can I make it stop?

BTW: Adding a non-breaking space &nbsp; seems to work
but unfortunately can change the layout of a design.

2) Webbots intended to include in the "<head>" don't operate,
even though there is a tag= specifier (normally set to BODY)
that would hint this would be allowed by changing it to HEAD.
Doesn't work.

Can I include a SIMPLE TEXT file within an arbitrary location
of my main HTML file?

3) What's the value in the include "replacement text"? Doesn't
seem worth much but maybe I didn't use it right yet...



--
Herb Martin, MCSE, MVP
Accelerated MCSE
http://www.LearnQuick.Com
[phone number on web site]
 

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