Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Updating/Modifying posted content with RTE
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedUpdating/Modifying posted content with RTE

 Post Reply Post Reply Page  12>
Author
SamanthaMarrs View Drop Down
Newbie
Newbie


Joined: 04 September 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote SamanthaMarrs Quote  Post ReplyReply Direct Link To This Post Topic: Updating/Modifying posted content with RTE
    Posted: 19 May 2006 at 4:40am
Ok, so far, have had very limited issues with this RTE that I couldn't solve.
But this one kinda confuses me, so any thoughts would be greatly appreciated.
 
I'm basically using an ASP form that works like the guestbook tutorial from this site. The data put into the initial RTE gets posted into an access database and is displayed on another page. There are 3 things, Add Entry, Delete Entry, and Modify Existing Entry. I would like to use the RTE in the "Modify Entry" page, but am having trouble figuring out how to post the entry data from the database into the RTE for modification.
 
As it was i just used the "value="<% = rsGuestbook("Comments") %>"" in the <textarea> field. But as we know by now, that won't work, cuz only the html from the entry will show.
 
Is this possible?
 
Thanks in advance!
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2006 at 9:43am
The way you are doing using the textarea is down the right path, just implemented slightly wrong:-

<textarea><% = rsGuestbook("Comments") %></textarea>
Back to Top
SamanthaMarrs View Drop Down
Newbie
Newbie


Joined: 04 September 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote SamanthaMarrs Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2006 at 2:44pm
Hmm, tried this out, and still just getting html inside the text area
 
 
<TEXTAREA NAME="comments" style="width:500; height:300"><% = rsGuestbook("Comments") %></TEXTAREA>
 
so you can view:
 


Edited by SamanthaMarrs - 19 May 2006 at 2:47pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2006 at 2:54pm
The problem is that your RTE area is not initialising and you are just getting a plain textarea.

Looking at the code it appears that for the HTML form area you do not have an id tag nor for the comments textarea eg. id="myFormName"

This maybe why your RTE area is not initialising.
Back to Top
SamanthaMarrs View Drop Down
Newbie
Newbie


Joined: 04 September 2005
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote SamanthaMarrs Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2006 at 2:57pm
oh poopy, i have found the culprit. i did nopt add the onLoad="initialiseWebWizRTE();" in the <body>, duh. lol, thanks very much borg for your help, you are genius ;)
Back to Top
OURJETS View Drop Down
Newbie
Newbie
Avatar

Joined: 15 April 2005
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote OURJETS Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2006 at 5:15pm
Samantha,
 
I am struggling with using RTE to allow a user to post and update his page. Can you offer any assistance? I have a blank text area that I want the user (through a password protected page) to populate himself. RTE looks like the perfect medium to do this but I cannot get it to work. Is is possible to do without using a database?
 
Many thanks,
ourjets 
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 27 June 2006 at 9:47pm
Just use the ret to edit the same text file all of the time and on the page, use an include statement to pull the text file in to whereever you want to display it,

Lead me not into temptation... I know the short cut, follow me.
Back to Top
OURJETS View Drop Down
Newbie
Newbie
Avatar

Joined: 15 April 2005
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote OURJETS Quote  Post ReplyReply Direct Link To This Post Posted: 28 June 2006 at 9:00am
Dpyer,
 
Very new to asp. Where does the include statement need to be? Can you offer further guidance in more detail?
 
 
Thanks.
 
Ourjets
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.