Re: suggestions please

by "Frank Boumphrey" <bckman(at)ix.netcom.com>

 Date:  Fri, 30 Nov 2001 15:41:35 -0500
 To:  "Emerald Spirit" <emerald_spirit(at)yahoo.com>,
<hwg-techniques(at)mail.hwg.org>
 References:  yahoo
  todo: View Thread, Original
It is a relatively easy matter to allow your users to update the textual
content on their pages, but if they need to update the layout then that is a
different matter.

For example here is a personal statement (The variable 'custom_aboutme' was
filled from a data base using ADODB)

  <p style='cursor:hand;' onclick='changestatement()' title='Click on the
paragraph to change the aboutme statement'>
Here is a little bit about me:<br /> <%=custom_aboutme%></p>

Now when they click on the statement the following form/function pair is
called

 <form name="fm1" action="changestatement.asp" target="new">
 <input type="hidden" name="statement" value="custom_aboutme"/>
</form>
  </body>
<script type='text/javascript'>
 function changestatement()
  {
  fm1.submit()
  }


Which opens up a new window. This window will  contain changestatement.asp
which will have a text box with the about me information in it (read from
the DB), and the user can modify it at as they like and then click on a
button to submit it and update the DB.

HTH,

Frank
----- Original Message -----
From: "Emerald Spirit" <emerald_spirit(at)yahoo.com>
To: <hwg-techniques(at)mail.hwg.org>
Sent: Friday, November 30, 2001 2:24 PM
Subject: suggestions please


> Hi all!
> Background:
> I'm building a prototype intranet for our company.
> Audience is all IE 5.5+.  The site is currently using
> ASP, XML and SQLServer 7.0 on IIS, with the idea that
> we'll use the .Net platform once it comes out.
>
> I want to give certain users the ability to update
> their pages without knowing HTML.  I'm thinking I'll
> want the content to all be in a database with the
> pages accessing the contents on the fly.
>
> My problem:
> How do I give my users the ability to update basic
> HTML without them knowing HTML?  Is there a simple
> WYSIWYG editor that I could include in an HTML (or ASP
> or whatever) page on the site that will post the
> resulting HTML to a database for storage?
>
> TIA
>
> Rebecca
>
> =====
> Do while Project<>Completed
>    if impossible = true then
>       rethink(approach)
>       set impossible = false
>    end if
> loop
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
> http://geocities.yahoo.com/ps/info1

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.