Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - RTE 3.0 b2 input/output to Access 2000
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedRTE 3.0 b2 input/output to Access 2000

 Post Reply Post Reply Page  123>
Author
dj1811 View Drop Down
Newbie
Newbie


Joined: 11 February 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj1811 Quote  Post ReplyReply Direct Link To This Post Topic: RTE 3.0 b2 input/output to Access 2000
    Posted: 11 February 2005 at 3:30pm

#1) I would like to have the RTE textarea input be taken from a database. For example:

<textarea name="textarea" cols="80" rows="15" id="myTextarea">
<% rs.Fields("RTE_text") %>
</textarea>
 
#2) Storing the output in the same database.  For example:
 
<% rs.Fields("RTE_text")=Request.Form("textarea") %>
 
Is there anything special I need to know before attempting to do this?  Are there any examples out there i can work from? Which page/s do I need to edit? How are the HTML tags stored:  &lt;b&gt;Hello&lt;/b&gt; or <b>Hello</b>?
 
Sorry for such "noobie" questions!  Also: Thank you very much; this is a very cool program.  I was going to write my own but it would have taken forever and the final product would not have been 1/2 as nice as this!
 
Mike
Back to Top
dj1811 View Drop Down
Newbie
Newbie


Joined: 11 February 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj1811 Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2005 at 2:23am
Got the first part working easy enough.  Kind of embarrassed that I even asked now! 
 
I think I'll be able to get the second part almost as easily.  Very nicely documented.
Back to Top
dj1811 View Drop Down
Newbie
Newbie


Joined: 11 February 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj1811 Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2005 at 3:22am

I got this working quite easily.  If I notice any error/bugs I'll let you know.

Back to Top
dj1811 View Drop Down
Newbie
Newbie


Joined: 11 February 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj1811 Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2005 at 3:03pm

Here a couple of early impressions of the RTE_setup.asp in ver3 b2:

#1) http://www.asphelp.com the site for one of the suggested download controls is for sale -- so the component is not available there.
 
#2) Would be useful for the project I have in mind if there was a const for the path to the images folder.
 
#3) The consts don't seem to work...  i.e. changing  <% Const blnFontStyle = false %> does not block the FontStyle dropdown from appearing on the RTE form.
 
Also a couple of observations about the editor in general:
 
#1) I wish it were not possible to drag the button imgs on the RTE toolbar into the textarea.   Much of the work I do in web design is volunteer work for non-profit orgs..  and I can see already see that if I were to incorporate the RTE into a website the people I work with (older people, computer illiterate people, disabled people, etc)  will be dragging the icons into the text area.
 
This really isn't crucial of course, but just a suggestion if it were easy to implement.
 
#2) Also would be nice if the if the RTE reused <SPAN> tags.  Or deleted empty tags.  After editing the same field multiple times in the RTE the HTML starts to look like <SPAN font.....></SPAN><SPAN font...>TEXT</SPAN><SPAN font....></SPAN> etc.
 
*******************
 
The only thing that is a serious issue is #3 above.  The rest of the stuff is just a few suggestions; in the event you wanted some feedback.
 
Overall I'd say the RTE works extremely well, seems stable & relatively bug free.  It's a very fun & cool little program & thanks very much!
 
Back to Top
dj1811 View Drop Down
Newbie
Newbie


Joined: 11 February 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj1811 Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2005 at 3:08pm
UGH! again I post too soon!  I apologize; #3) the const's not working... that was my own fault ...
 
Of course they don't work when you don't upload the setup file to the server...
 
Silly, me.Embarrassed
Back to Top
GerS View Drop Down
Newbie
Newbie
Avatar

Joined: 22 January 2005
Location: Netherlands
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote GerS Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2005 at 4:53pm
I was shocked about the constants not working... Shockedand tested it immeditately. Glad we now both know it's all all right!Big smile
 
Another remark about your #1: drag the button imgs on the RTE toolbar into the textarea.
I tested this in the online demo of V3 B2 and got runtime errors after putting an icon of the RTE toolbar in the form. (run time error, object expected, pointing to the html in the textarea).
Can anyone confirm this??
Back to Top
dj1811 View Drop Down
Newbie
Newbie


Joined: 11 February 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj1811 Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2005 at 6:40pm
Originally posted by GerS GerS wrote:

I tested this in the online demo of V3 B2 and got runtime errors after putting an icon of the RTE toolbar in the form. (run time error, object expected, pointing to the html in the textarea).
Can anyone confirm this??
Yeah I get the same. 
 
It's the javascript effects on the toolbar buttons.
Back to Top
dj1811 View Drop Down
Newbie
Newbie


Joined: 11 February 2005
Status: Offline
Points: 26
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj1811 Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2005 at 7:43pm
A bug found in MSIE 6.0.28:
 
Step 1) Press "Reset Form" button once, and it works normally.
 
Step 2) Enter a line of text then hit the "Enter" key so there is a blank line following text.
 
Step 3) Press "Reset Form" button again.
 
Step 4) Enter a line of text then hit the "Enter" key so there is a blank line following text.  BUG: Now the <P> tags are not being replaced by <BR>'s.
 
Step 5) Press "Reset Form" button one last time.
 
Step 6) Enter some text.  SECOND BUG: Now the text has a white background.
 
 
Back to Top
 Post Reply Post Reply Page  123>

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.