Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - RTE_Setup problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedRTE_Setup problem

 Post Reply Post Reply
Author
zaphod View Drop Down
Newbie
Newbie


Joined: 14 June 2005
Location: United Kingdom
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaphod Quote  Post ReplyReply Direct Link To This Post Topic: RTE_Setup problem
    Posted: 24 February 2010 at 12:31pm
Hi,
 
I have a problem with the RTE setup file. I want to use the product to enable members of the website to author content shown on their webpages. There are a series of variables in the RTE_setup.asp file I need to configure dynamically, related to the user who is logged on. This is available as a session.
What I really want to do is change the value of "my_documents" to the value of session ("member") for the following.
 
Const strSaveFileFolderPath
Const strOpenFileFolderPath
Const strFileUploadPath
Const strImageUploadPath
 
A folder named session(member) exists in the RTE directory.
 
I have tried the following but get errors. e.g
 
Const SaveFileFolderPath=session("member")
 
and also
 
SaveFileFolderPath=session("member")
Const SaveFileFolderPath=SaveFileFolderPath
 
but I always get errors.
 
Can you help?
 
regards
 
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: 24 February 2010 at 12:54pm
A Const variable is a constant which is like a read-only variable and can not be changed once set.

You would need to change the Const to Dim and set the variables content on a different line eg:-

Dim strSaveFileFolderPath
strSaveFileFolderPath = session("member")
Back to Top
zaphod View Drop Down
Newbie
Newbie


Joined: 14 June 2005
Location: United Kingdom
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote zaphod Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2010 at 3:18am
Hi,
 
thanks for the assisitance. Timely and useful as usual. An excellent product.
 
regards
 
Zaphod
Back to Top
nubishsha12 View Drop Down
Newbie
Newbie


Joined: 17 April 2010
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote nubishsha12 Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2010 at 5:54am
thanks for the assisitance
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.