Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 04:15:32 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155555
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
[solve]Searching for a workaraund for the HOME_FOLDER-Bug in the FCKEDITOR
Pages: [
1
]
Go Down
Author
Topic: [solve]Searching for a workaraund for the HOME_FOLDER-Bug in the FCKEDITOR (Read 576 times)
spawnferkel
Offline
Posts: 96
[solve]Searching for a workaraund for the HOME_FOLDER-Bug in the FCKEDITOR
«
on:
March 12, 2008, 02:45:08 PM »
Hello,
I have installed the newest WB (RC1) and I am very glad with it. And I am astonish about how well the system works but I am looking for one little imporvement.
If I allocate a home-folder in the media-directory for one single user it is in my opinion very useful if he starts directly in this directory if he tries to upload some files.
My problem is mostly concern with the integration of the home-folder in the fckeditor because there is none. The user sees every folder in the media-directory and is allowed to upload his files everywhere.
Is there any workaround for this problem, or do you have any other idea?
Thanks in advance.
Alexander Franksmann
«
Last Edit: March 12, 2008, 03:36:26 PM by spawnferkel
»
Logged
spawnferkel
Offline
Posts: 96
Re: Searching for a workaraund for the HOME_FOLDER-Bug in the FCKEDITOR Media Folder
«
Reply #1 on:
March 12, 2008, 03:35:08 PM »
YEEEHA,
i found the solution for my probl.
after I work for hours in the wrong file and wondering why my changes have no effect on the output i edit the /modules/fckeditor/fckeditor/editor/filemanager/connectors/php/config.php and replace the lines 52 till 64 with this code:
$Config['UserFilesPath'] = WB_URL .MEDIA_DIRECTORY ;
if(isset($_SESSION['HOME_FOLDER'])){
$Config['UserFilesPath'] = $Config['UserFilesPath'].$_SESSION['HOME_FOLDER'];
}
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Useful if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
// $Config['UserFilesAbsolutePa
th'] = '' ;
$Config['UserFilesAbsolutePa
th'] = WB_PATH .MEDIA_DIRECTORY ;
if(isset($_SESSION['HOME_FOLDER'])){
$Config['UserFilesAbsolutePa
th'] = $Config['UserFilesAbsolutePa
th'].$_SESSION['HOME_FOLDER'];
}
Happy baking
Alexander Franksmann
Logged
doc
Guest
Re: [solve]Searching for a workaraund for the HOME_FOLDER-Bug in the FCKEDITOR
«
Reply #2 on:
March 12, 2008, 03:52:24 PM »
Hello,
maybe we can integrate this into the final WB 2.7 release. Thanks for your contribution.
Regards Christian
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...