Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-09-30 11:45:06

$SMax$
Xinha Community Member
From: Russia
Registered: 2005-03-11
Posts: 21

ExtendedFileManager. Wrong path when edit properties.

Inserting new image at page is ok.

But when open EFM by "Image properties", field "File name" get wrong path included directory name above root path of $IMConfig['images_url']


=====[ my cfg.php: ]=============================
$cfg['site']['url']= "http://".$_SERVER['HTTP_HOST']."/somesoft/";
$cfg['site']['dir']= "c:/apache/htdocs/somesoft/";
$cfg['files']['dir']       = "files";
============================================


=====[ EFM config.inc.php ]=========================
include("../../../cfg.php");

$IMConfig['backend_url'] = "backend.php?__plugin=ExtendedFileManager&";

$IMConfig['base_dir'] = getcwd();
$IMConfig['base_url'] = '';


$IMConfig['images_dir'] = $cfg['site']['dir'].$cfg['files']['dir'];
$IMConfig['images_url'] = $cfg['site']['url'].$cfg['files']['dir'];
============================================



File name when insert new image: /test.jpg
File name when edit properties of image: /somesoft/files/test.jpg

Offline

#2 2010-09-10 09:32:42

$SMax$
Xinha Community Member
From: Russia
Registered: 2005-03-11
Posts: 21

Re: ExtendedFileManager. Wrong path when edit properties.

up

Offline

#3 2010-09-11 02:37:46

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: ExtendedFileManager. Wrong path when edit properties.

Very old post.  Suggest you upgrade to latest and use MootoolsFileManager instead of ExtendedFileManager.


James Sleeman

Offline

#4 2010-09-11 07:44:58

$SMax$
Xinha Community Member
From: Russia
Registered: 2005-03-11
Posts: 21

Re: ExtendedFileManager. Wrong path when edit properties.

Where is MootoolsFileManager projects page?

Offline

#5 2010-09-11 19:33:28

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: ExtendedFileManager. Wrong path when edit properties.

Instructions are in the config file:

http://trac.xinha.org/browser/trunk/plu … config.php


James Sleeman

Offline

Board footer

Powered by FluxBB