Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Web Wiz Rich Text Editor v3.0 b2 TESTING
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedWeb Wiz Rich Text Editor v3.0 b2 TESTING

 Post Reply Post Reply Page  <123
Author
g_ozyurt View Drop Down
Newbie
Newbie


Joined: 01 March 2005
Status: Offline
Points: 1
Direct Link To This Post Posted: 02 March 2005 at 3:33pm
Hi BoRg,
 
You will probably remember my problem with the hyperlink in RTE v3b2. I found the thing in my asp page that makes problem.  It is the <a name="mylocation"> statement and the link href "#mylocation" to that location.
 
After I deleted the # stuff, hyperlinks are also working. Thanks for your help. 
 
 
 
Back to Top
GlamKitten View Drop Down
Groupie
Groupie
Avatar

Joined: 07 May 2002
Location: United Kingdom
Status: Offline
Points: 41
Direct Link To This Post Posted: 02 March 2005 at 4:09pm
I've tried to MOD this so that it can be run from it's own folder. It was messy and overwrote some of my images & files otherwise. The first thing to do is add a new variable for the location of your installation. I put mine in a folder called RTE off my root folder.
 
Open RTE_configuration\RTE_Skin_file.asp
 
Go Line 54 & change:
 
'Path to button images
Dim strImagePath = "images/"
 
to:
 
'Path to button images
Const strRTEPath = "rte/"
Dim strImagePath
strImagePath = strRTEPath & "images/"
 
(this fixes the images in the toolbars)
 
Then open RTE_javascript.asp
 
Line 202: src=""includes/RTE_iframe_colour_palette.asp""
Becomes:  src=""" & strRTEPath & "includes/RTE_iframe_colour_palette.asp""
 
Do the same thing for lines 207, 212, 217 (this adds our installation path for our popups).
 
The open up includes\RTE_toolbar_inc.asp
 
Do a search and replace on winOpener(\'
so that it becomes winOpener(\'" & strRTEPath & "
 
There should be 10 replacements, again this fixes the path to our popups windows.
 
Finally go into RTE_editor_inc.asp itself
 
Before Line 66 add in the path to our installation
 
Const strRTEPath = "rte/"
 
Now we can use that on the following lines to point to the correct javascript include files.
 
Line 67: Response.Write("<link href=""RTE_configuration/default_style.css"" rel=""stylesheet"" type=""text/css"" />")
becomes: Response.Write("<link href=""" & strRTEPath & "RTE_configuration/default_style.css"" rel=""stylesheet"" type=""text/css"" />")
 
Line 68: Response.Write(vbCrLf & "<script language=""JavaScript"" src=""/RTE_javascript_common.asp"" type=""text/javascript""></script>")
Becomes: Response.Write(vbCrLf & "<script language=""JavaScript"" src=""" & strRTEPath & "RTE_javascript_common.asp"" type=""text/javascript""></script>")
 
Line 75: Response.Write(vbCrLf & "<script language=""JavaScript"" src=""/RTE_javascript.asp?textArea=" & Server.URLEncode(strTextAreaName) & """ type=""text/javascript""></script>")
becomes: Response.Write(vbCrLf & "<script language=""JavaScript"" src=""" & strRTEPath & "RTE_javascript.asp?textArea=" & Server.URLEncode(strTextAreaName) & """ type=""text/javascript""></script>")
 
 
It works for me like this although I've not tested it very thoroughly and i've noticed that thigns like the image browser still need a little tweaking. I've no doubt missed some other things as well, but hopefully people who wish to run the RTE like this will find this a good start. Perhaps even -borg- if you want can change the main installation to do this as I think most people will find it easier not have the files in their main application folder.
 
And indeed thanks for yet another wonderful application.
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
Direct Link To This Post Posted: 03 March 2005 at 4:35am
I did spend about 30 hours trying to make it so it could run in it's own folder but there where to many path issues.

Problems with image and files occur with iserting images, uploading files, the file browser, saving files, and even when you submit the form there are many issues with paths.
Back to Top
GlamKitten View Drop Down
Groupie
Groupie
Avatar

Joined: 07 May 2002
Location: United Kingdom
Status: Offline
Points: 41
Direct Link To This Post Posted: 03 March 2005 at 7:49am
Yeah I guess what I did was only a small part of what was necessary to get the whole thing working. I'm not using the image insert or file upload myself for what I'm using it for just now so I hadn't looked at those parts of it very much. I'll probably keep working on it though and will post a more complete MOD later on if people want it.
Back to Top
Ka36ek View Drop Down
Newbie
Newbie


Joined: 07 March 2005
Location: Kazakhstan
Status: Offline
Points: 4
Direct Link To This Post Posted: 07 March 2005 at 11:49am

During localizing RTE to Russian I found a problem:

changing of page encoding is not enough, if server has 1033 locale
I've added line: <%@LANGUAGE="VBSCRIPT" CODEPAGE="1251"%>
in eache separate file to do this task
changing Session.LCID do not give such result
 
Back to Top
Ka36ek View Drop Down
Newbie
Newbie


Joined: 07 March 2005
Location: Kazakhstan
Status: Offline
Points: 4
Direct Link To This Post Posted: 07 March 2005 at 11:58am
I have another problem:
on my testing machine and even on http://www.richtexteditor.org/demo/
 
I can not open saved file with IE 6 sp1 russian
ie reports that error is ocured at line 28 symbol 4
 
"document.getelementbuid(...)contentWindow.document is null or is not an object"
 
on testing server error happens at 29 line
 
sorry for offtopic, can anybody say is the Open University (GB) a popular in England? Please send me a private message
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
Direct Link To This Post Posted: 07 March 2005 at 2:09pm
Looks like you have a corrupted file somehow it should be:-

getElementById
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.