in /fckeditor/fckconfig.js
comment lines containing .asp
uncomment lines .php eg
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php" ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/php/connector.php" ;
# configure image upload directory
/fckeditor/editor/filemanager/browser/default/connectors/php/connector.php
$GLOBALS["UserFilesPath"] = '/new/cms/' ;
images will go into /new/cms/Image instead of /UserFiles/Image
Couldn't figure how to make Image lowercase
--
zzapper
vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?"
http://www.rayninfo.co.uk/tips/ vim, zsh & life tips
Wed, 01/19/2005 - 13:10
#1
RE: Configuring Different Image Path for PHP
RE: Configuring Different Image Path for PHP
make the following edit in
/FCKeditor/editor/filemanager/browser/default/frmresourcetype.html
Find the section of code below
var aTypes = [
['File','File'],
['Image','Image'],
['Flash','Flash'],
['Media','Media']
] ;
and change it to:
aTypes = [
['file','File'],
['image','Image'],
['flash','Flash'],
['media','Media']
] ;
RE: Configuring Different Image Path for PHP
make the following edit in
/FCKeditor/editor/filemanager/browser/default/frmresourcetype.html
Find the section of code below
var aTypes = [
['File','File'],
['Image','Image'],
['Flash','Flash'],
['Media','Media']
] ;
and change it to:
var aTypes = [
['file','File'],
['image','Image'],
['flash','Flash'],
['media','Media']
] ;
then in fckconfig.js
find
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx" ;
change the word Image in the url to lower case (make sure you change the url for the version your using. ie: php, asp,aspx)
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=image&Connector=connectors/aspx/connector.aspx" ;
RE: Configuring Different Image Path for PHP