This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > FrontPage Programming > February 2005 > How to allow users to add text to same page





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 How to allow users to add text to same page
Richard Desjardins

2005-02-24, 6:32 pm

I am trying to create a page where users can add text to a story. What
I would like to do is have a basic story text on the web page and then a
text box where users input text and then when the submit button is hit
the text is added in an area above on the same page.

So the user would see the original story and then any text input by
visitors through the text input box and then at the bottom the text
entry box.

--
Mr. Richard Desjardins



Kevin Spencer

2005-02-24, 6:33 pm

I hope you realize that what you're describing is an application. A static
HTML page is simply a document. While you can use JavaScript to get a bit of
interaction in the client browser, none of it ends up on the server. So,
you're talking about writing a web application using ASP, ASP.Net, PHP, CGI,
or whatever server-side programming technology the server supports. In
addition, you will need to use a database of some kind to store the data
entered by the users. Now, FrontPage has some tools for doing the most basic
types of database interaction, but you're going to need a custom app.
Nothing fancy, but if you don't know how to program it might as well be
Calculus.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Richard Desjardins" <desjardins-r@rmc.ca> wrote in message
news:421E2394.4A0AD153@rmc.ca...
>I am trying to create a page where users can add text to a story. What
> I would like to do is have a basic story text on the web page and then a
> text box where users input text and then when the submit button is hit
> the text is added in an area above on the same page.
>
> So the user would see the original story and then any text input by
> visitors through the text input box and then at the bottom the text
> entry box.
>
> --
> Mr. Richard Desjardins
>
>
>



Richard Desjardins

2005-02-24, 6:33 pm

Kevin Spencer wrote:
[color=darkred]
> I hope you realize that what you're describing is an application. A static
> HTML page is simply a document. While you can use JavaScript to get a bit of
> interaction in the client browser, none of it ends up on the server. So,
> you're talking about writing a web application using ASP, ASP.Net, PHP, CGI,
> or whatever server-side programming technology the server supports. In
> addition, you will need to use a database of some kind to store the data
> entered by the users. Now, FrontPage has some tools for doing the most basic
> types of database interaction, but you're going to need a custom app.
> Nothing fancy, but if you don't know how to program it might as well be
> Calculus.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> Neither a follower nor a lender be.
>
> "Richard Desjardins" <desjardins-r@rmc.ca> wrote in message
> news:421E2394.4A0AD153@rmc.ca...

Thanks, I guess I will stick to a two page solution using a slightly modified
Guestbook setup.


--
Mr. Richard Desjardins


Jim Cheshire \(JIMCO\)

2005-02-24, 6:33 pm

Kevin Spencer wrote:
> I hope you realize that what you're describing is an application. A
> static HTML page is simply a document. While you can use JavaScript
> to get a bit of interaction in the client browser, none of it ends up
> on the server. So, you're talking about writing a web application
> using ASP, ASP.Net, PHP, CGI, or whatever server-side programming
> technology the server supports. In addition, you will need to use a
> database of some kind to store the data entered by the users. Now,
> FrontPage has some tools for doing the most basic types of database
> interaction, but you're going to need a custom app. Nothing fancy,
> but if you don't know how to program it might as well be Calculus.
>


You don't actually have to have a database to store the data. There are
solutions out there that will save the information into the file without
requiring a database.

Check out the reviews on my Web site. I reviewed ContentSeed which will do
somewhat what you're asking. If you have ASP.NET support, a great option is
the r.a.d.editor control from telerik. It's a bit expensive, so it depends
on your needs.

--
Jim Cheshire
JIMCO
http://www.jimcoaddins.com

Now offering templates ranging from
affordable standard templates to
powerful e-commerce applications!



Kevin Spencer

2005-02-24, 6:33 pm

> You don't actually have to have a database to store the data. There are
> solutions out there that will save the information into the file without
> requiring a database.


I meant database in the generic form - a permanent storage mechanism in the
file system. In that sense, a text file can serve as a database. Of course,
you wouldn't execute queries against it! ;-)

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Jim Cheshire (JIMCO)" <contactme@jimcoaddins.com> wrote in message
news:OtsdbCrGFHA.2976@TK2MSFTNGP15.phx.gbl...
> Kevin Spencer wrote:
>
> You don't actually have to have a database to store the data. There are
> solutions out there that will save the information into the file without
> requiring a database.
>
> Check out the reviews on my Web site. I reviewed ContentSeed which will
> do somewhat what you're asking. If you have ASP.NET support, a great
> option is the r.a.d.editor control from telerik. It's a bit expensive, so
> it depends on your needs.
>
> --
> Jim Cheshire
> JIMCO
> http://www.jimcoaddins.com
>
> Now offering templates ranging from
> affordable standard templates to
> powerful e-commerce applications!
>
>
>



Jim Cheshire \(JIMCO\)

2005-02-24, 6:33 pm

Kevin Spencer wrote:
>
> I meant database in the generic form - a permanent storage mechanism
> in the file system. In that sense, a text file can serve as a
> database. Of course, you wouldn't execute queries against it! ;-)


The r.a.d.editor and ContentSeed can both save content directly to the file
you're editing. In other words, there is no file other than the Web page
itself.

--
Jim Cheshire
JIMCO
http://www.jimcoaddins.com

Now offering templates ranging from
affordable standard templates to
powerful e-commerce applications!



Richard Desjardins

2005-02-25, 6:34 pm

"Jim Cheshire (JIMCO)" wrote:

> Kevin Spencer wrote:
>
> The r.a.d.editor and ContentSeed can both save content directly to the file
> you're editing. In other words, there is no file other than the Web page
> itself.
>
> --
> Jim Cheshire
> JIMCO
> http://www.jimcoaddins.com
>
> Now offering templates ranging from
> affordable standard templates to
> powerful e-commerce applications!


Thank you for all of the suggestions, I was actually able to do what I wanted
using FP2003. I created the web page that was to be my main pageand near the
bottom I inserted a Form Text Area and had the results go to a second page. I
then created the second web page that the form data was pointed to. Then back
on my main page I inserted a Web Component > Included Content > Page where I
wanted the inputed data to appear and pointed that to the page that I haad sent
the form results to.

Perhaps not the prettiest way of doing it but I achieved the results I was
looking for and I learned a little bit more about FP2003 in the process.

Thanks again for your suggestions. They are always helpful.


--
Mr. Richard Desjardins



Chris Leeds, MVP-FrontPage

2005-02-25, 6:34 pm

this isn't a viable solution because the FrontPage include page feature is
done at "save time" you'll need to publish or recalculate your web to get
the new content to show up on that page via the FrontPage include.

what kind of server are you publishing to? (UNIX/windows)

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
"Richard Desjardins" <desjardins-r@rmc.ca> wrote in message
news:421F1D50.80AFC98C@rmc.ca...
> "Jim Cheshire (JIMCO)" wrote:
>
file[color=darkred]
page[color=darkred]
>
> Thank you for all of the suggestions, I was actually able to do what I

wanted
> using FP2003. I created the web page that was to be my main pageand near

the
> bottom I inserted a Form Text Area and had the results go to a second

page. I
> then created the second web page that the form data was pointed to. Then

back
> on my main page I inserted a Web Component > Included Content > Page where

I
> wanted the inputed data to appear and pointed that to the page that I haad

sent
> the form results to.
>
> Perhaps not the prettiest way of doing it but I achieved the results I was
> looking for and I learned a little bit more about FP2003 in the process.
>
> Thanks again for your suggestions. They are always helpful.
>
>
> --
> Mr. Richard Desjardins
>
>
>



Richard Desjardins

2005-02-25, 6:34 pm

"Chris Leeds, MVP-FrontPage" wrote:
[color=darkred]
> this isn't a viable solution because the FrontPage include page feature is
> done at "save time" you'll need to publish or recalculate your web to get
> the new content to show up on that page via the FrontPage include.
>
> what kind of server are you publishing to? (UNIX/windows)
>
> --
> Chris Leeds,
> Microsoft MVP-FrontPage
>
> ContentSeed: great tool for web masters,
> a fantastic convenience for site owners.
> http://contentseed.com/
> --
> "Richard Desjardins" <desjardins-r@rmc.ca> wrote in message
> news:421F1D50.80AFC98C@rmc.ca...
> file
> page
> wanted
> the
> page. I
> back
> I
> sent

When the user has finished inputting there text they hit the submit button.
When the page is refreshed the new text appears. This is what I was trying to
get.
I am publishing to a Win2k3 running IIS6.


--
Mr. Richard Desjardins


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews