Print Page | Close Window

RTE Suggestion

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=15007
Printed Date: 29 March 2026 at 12:33pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: RTE Suggestion
Posted By: Phat
Subject: RTE Suggestion
Date Posted: 10 May 2005 at 5:51am
In the next version can we have the option to delete saved files. I use this feature allot and when I want to overwrite a file with a new the RTE  creates a new file with a new name.

Thanks Borg!




Replies:
Posted By: WebWiz-Bruce
Date Posted: 10 May 2005 at 7:08am
In the setup file there is an option that you can enable to allow the RTE to overwrite saved files, instead of renaming them with a new name.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: MortiOli
Date Posted: 31 October 2005 at 2:14pm
Can I just add and ask something onto the end of this please?
 
I've changed my RTE_setup.asp to allow me to overwrite files, which it does.  However, when I do save the files, and it does overwrite them, it still gives me a warning;
 
Either a file of the same name already existed or there was a problem with the file name entered.
The file has been saved as 'test.htm'.
 
Is there anyway of stopping this warning from showing, when you have allowed files to be overwritten?
 
Cheers!


Posted By: dj air
Date Posted: 31 October 2005 at 2:52pm
in the page where it says that message add a verible to the if stamtent doing if blnOverwrite = false then

not actual code above but give idea, that way it wont show, you could make it and else part saying saved fine ok as xxxxx


Posted By: MortiOli
Date Posted: 01 November 2005 at 2:26pm
Sound as a pound!
 
If anyone else would like to make this modification, here's what I did in RTE_popup_save_file.asp ...
 
 
 
Line 78, add;
 
Dim blnOverwrite   'Overwrite true or false
 
 
Line 308, change;
 
 If blnNewFileName Then
 
to;
 
 If blnNewFileName and blnOverwrite = "false" Then
 
 
 
I think that's all (works ok anyway!), but please let me know if it isn't!



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net