Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - RTE Suggestion
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedRTE Suggestion

 Post Reply Post Reply
Author
Phat View Drop Down
Senior Member
Senior Member


Joined: 23 February 2003
Status: Offline
Points: 386
Post Options Post Options   Thanks (0) Thanks(0)   Quote Phat Quote  Post ReplyReply Direct Link To This Post Topic: RTE Suggestion
    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!

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: 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.
Back to Top
MortiOli View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
Post Options Post Options   Thanks (0) Thanks(0)   Quote MortiOli Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
MortiOli View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
Post Options Post Options   Thanks (0) Thanks(0)   Quote MortiOli Quote  Post ReplyReply Direct Link To This Post 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!
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.