You are not logged in.
Pages: 1
I got Xinha working with EFM, but the upload directory is now /Xinha/plugins/ExtendedFileManager/demo_images
Where could I change that in /my-directory_images?
Offline
The configuration of the plugin is the same as ImageManager plugin, if you're familiar with it.
You can specify the config variables in two ways
1. Static configuration - simply edit the config.inc.php file in EFM directory and change the 'images_dir' and 'images_url' settings
2. Dynamic configuration (you can specify the settings while instantiating the editor, useful if you need to dynamically change the config based on e.g. user account logged in to your application) - to do this, the xinha configuration and startup must be done not in .js file, but in .php file - appropriate snippets of code to insert to this file are included in readme.txt file in EFM directory.
Cheers,
Chris Kotowicz
Offline
Hi, I currently have the same problem.
When I am trying to config the image manager as following:
<?php
session_start();
$IMConfig = array();
$IMConfig['images_dir'] = '/usr/export/www/vhosts/funnetwork/hosting/retaliator/smg/';
$IMConfig['images_url'] = 'http://retaliator.re.funpic.de/smg/';
$IMConfig = serialize($IMConfig);
if(!isset($_SESSION['Xinha:ImageManager']))
{
$_SESSION['Xinha:ImageManager'] = uniqid('secret_');
}
?>
Actually the image manager is working but when I submit the form I receive wrong image sources:
<img width="38" height="10" src="smg/mehr.gif" alt="mehr.gif" />
instead of
<img width="38" height="10" src="http://retaliator.re.funpic.de/smg/mehr.gif" alt="mehr.gif" />
Can anyone help me
thx rob
Offline
If there's any more need for discussion, please write here http://xinha.gogo.co.nz/punbb/viewtopic.php?id=573 to keep things together
Offline
Pages: 1