This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > FrontPage Programming > December 2005 > line wrap in discussion post
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
line wrap in discussion post
|
|
|
| I used the following information to try to preserve line breaks in
discussion posts in my web.
Step 1 - How to Change the Discussion Text to Use a Preformatted Style
To change the output format of a Discussion Web so that carriage returns
remain in the posts to the Discussion Web, you must modify a format
parameter for the FrontPage WebBot that handles user input. To do this,
follow these steps: 1. Open your Discussion Web in FrontPage.
2. Open the file named Discussion_post.htm, where Discussion is the
name of the Discussion folder that you specified when you originally ran the
Discussion Web Wizard.
3. Switch to the Hypertext Markup Language (HTML) view.
4. Locate the line of code that begins with the following code:
<!--webbot bot="Discussion"
5. Locate the s-article-format parameter, and then change the value to
the following value:
s-article-format="HTML/PRE"
6. Save, and then close the page.
NOTE: These formatting changes only apply to new posts to the Discussion.
The format for existing posts do not change.
With that change, now there seems to be no word wrapping and the text
carries on off the page to the right. Is there a way to have both?
Thank you in advance for any help.
Tim
| |
|
| No, not with the FP Discussion web.
Your choices are
1) Honour line feeds in the input form, and lose word wrapping (use
the HTML/Pre format)
2) Allow word wrapping, but ignore line feeds in the form data
3) Find a third party application.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/
"Tim" <t.hillier@mdambulance.com> wrote in message
news:11qout1nljj2ieb@corp.supernews.com...
> I used the following information to try to preserve line breaks in
> discussion posts in my web.
>
> Step 1 - How to Change the Discussion Text to Use a Preformatted
Style
> To change the output format of a Discussion Web so that carriage
returns
> remain in the posts to the Discussion Web, you must modify a format
> parameter for the FrontPage WebBot that handles user input. To do
this,
> follow these steps: 1. Open your Discussion Web in FrontPage.
> 2. Open the file named Discussion_post.htm, where Discussion
is the
> name of the Discussion folder that you specified when you originally
ran the
> Discussion Web Wizard.
> 3. Switch to the Hypertext Markup Language (HTML) view.
> 4. Locate the line of code that begins with the following
code:
> <!--webbot bot="Discussion"
>
> 5. Locate the s-article-format parameter, and then change the
value to
> the following value:
> s-article-format="HTML/PRE"
>
> 6. Save, and then close the page.
> NOTE: These formatting changes only apply to new posts to the
Discussion.
> The format for existing posts do not change.
>
> With that change, now there seems to be no word wrapping and the
text
> carries on off the page to the right. Is there a way to have both?
>
> Thank you in advance for any help.
>
> Tim
>
>
| |
|
| Thank you for your reply.
Tim
"Ronx" <ronx917@hotmail.com> wrote in message
news:u$n7GJHCGHA.2664@TK2MSFTNGP15.phx.gbl...
> No, not with the FP Discussion web.
> Your choices are
> 1) Honour line feeds in the input form, and lose word wrapping (use
> the HTML/Pre format)
> 2) Allow word wrapping, but ignore line feeds in the form data
> 3) Find a third party application.
> --
> Ron Symonds - Microsoft MVP (FrontPage)
> Reply only to group - emails will be deleted unread.
> FrontPage Support: http://www.frontpagemvps.com/
>
>
> "Tim" <t.hillier@mdambulance.com> wrote in message
> news:11qout1nljj2ieb@corp.supernews.com...
> Style
> returns
> this,
> is the
> ran the
> code:
> value to
> Discussion.
> text
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|