Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 03:02:49 AM

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
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Absolute path and Fckeditor  (Read 2754 times)
chris

Offline Offline

Posts: 35


« on: April 25, 2008, 09:22:47 PM »

Hallo everybody,
can somebody please tell me what en where to bring changes in the Fckeditor?
I wish to change the absolute media path to relative path.

I'm using FCKeditor version: 2.85 and WB 2.6.7

Thanks in advance
Chris

P.S. I did try to find a solution in to the forum with no succes  huh
Logged
albatros

Offline Offline

Posts: 674


WWW
« Reply #1 on: April 25, 2008, 11:12:15 PM »

Hi,

look at /modules/fckeditor/wb_config/wb_fckconfig.js but read this line in it: "Note: If you miss some options, have a look into fckconfig.js and add the lines below". And fckconfig.js could be found here /modules/fckeditor/fckconfig.js

hth

albatros
Logged
chris

Offline Offline

Posts: 35


« Reply #2 on: April 26, 2008, 07:29:59 AM »

Good morning Albatros and everybody,

I think i didn't make my self clear. I don't want to change the way FCKeditor looks but the way he places the media path to the database.
If i remember wel in older versions you had to bring some changes on two lines in the file /fckeditor/fckeditor/editor/filemanager/connectors/php/config(dot)php
line 1 [$Config['UserFilesPath'] = WB_URL .MEDIA_DIRECTORY ;]
line 2[$Config['UserFilesAbsolutePa th'] = WB_PATH .MEDIA_DIRECTORY ;]

when i change those two lines with

1 [$Config['UserFilesPath'] ='../../../../../../../media/'
2 [$Config['UserFilesAbsolutePa th']='../../../../../../../media/'

I can browse the folder with the media but when i try to place one in a page nothing happens,
the only thing that i can see is a square where the image should be.

Can somebody help please?

Thank you,

Chris



Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!