Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - retrieve data from db to rte
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum Lockedretrieve data from db to rte

 Post Reply Post Reply
Author
mythodeia View Drop Down
Newbie
Newbie


Joined: 15 February 2006
Location: Greece
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mythodeia Quote  Post ReplyReply Direct Link To This Post Topic: retrieve data from db to rte
    Posted: 15 February 2006 at 12:27pm
i have a default.asp page in wwwroot/dap/default.asp
i changed all the include files for the RTE in default.asp to look at this directory wwwroot/dap/rte/
i have no directory errors ..only that the toolbar is not appearing
the name of the form is frm and the textareas is txtEditor
 
also i have this <body bgcolor="#FFFFFF" text="#000000" STYLE="text-align:center" OnLoad="initialiseWebWizRTE();">
maybe the problem is that the default page is one directory back that the RTE files.is there any way i could leave that page to wwwroot/dap/default.asp this directory and not mix it with the files that are on the wwwroot/dap/rte/ ?
is this causing the problem?
i get a javascript error : object expected....and i think it is the initialiseWebWizRTE(); because it cannot find the function in the directory that the default.asp page is in..
can anyone help?
thank you !
 
EDIT: i put everything in the same directory and it works...
however i want to know how can i retrieve values from the database using sql server 2000 and put the data to the RTE?
currently i have
<textarea name="txtEditor" cols="80" rows="15" id="txtEditor" value="<%=txtEditor%>"></textarea>
but nothing shows in the RTE.if i view the source code i can see that the value has been retrieved.how can i show it?


Edited by mythodeia - 15 February 2006 at 5:06pm
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: 16 February 2006 at 10:14am
The simplest way of doing is create your working textarea being populated from your database.

Once you have this running, follow the RTE install instructions, placing the RTE files into the same folder as your working db populated texterea, then apply the RTE to your own already running files.
Back to Top
mythodeia View Drop Down
Newbie
Newbie


Joined: 15 February 2006
Location: Greece
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote mythodeia Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2006 at 11:27am
thnx i found the solution
:)
very nice programming
keep it up
Back to Top
 Post Reply Post Reply

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.