Announcement

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

#1 2011-02-01 17:53:15

Ambauto
New member
Registered: 2011-02-01
Posts: 2

Help with setting up FileManager

Hey guys,
i just switched over from TinyMCE and everything seems to work fine! I just ran into some problems with the extendet file Manager "ExtendedFileManager" and i can't figure out the right settings.
I want to be able to use the File-Manager to Upload and use Images.

The structure of the project looks liks this:

- admin/
  * file_that_uses_xinha.php

- output.php (File that outputs generated html code)

- js/
  * xinha/

- images/
  * content/ (This is, where the images should be stored)


My settings look like this :
_editor_url  = "../js/xinha/"
<script type="text/javascript" src="../js/xinha/XinhaCore.js"></script>
$IMConfig['images_dir'] = '../../../../images/content/';
$IMConfig['images_url'] = '../../../../images/content/';

I can't figure out who to set 'images_dir' and 'images_url' correctly, so it would display thumbs and that i could edit images.

Example:

http://127.0.0.1/Project/admin/index.php calls xinha which is in http://127.0.0.1/Project/js/xinha and has to manage images that are in http://127.0.0.1/Project/images/content


Help would be very appreciated! smile

Offline

#2 2011-02-01 18:47:36

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

Re: Help with setting up FileManager

1. Use absolute _editor_url ( "/Project/js/xinha/" )

2. Use absolute images_dir and images_url, DEFINATELY not relative here.

3. Read wiki page for ExtendedFileManager
  http://trac.xinha.org/wiki/Plugins/ExtendedFileManager

4. If only for inserting images, ExtendedFileManager is too much, ImageManager is for that

5. Recommend you try MootoolsFileManager ( see plugins/MootoolsFileManager/config.php for instructions ) instead of either ExtendedFileManager and ImageManager


James Sleeman

Offline

#3 2011-02-02 06:50:10

Ambauto
New member
Registered: 2011-02-01
Posts: 2

Re: Help with setting up FileManager

Thank you so much, absolute image_dir saved the day. smile I'll have a look at the alternative plugins!

Offline

Board footer

Powered by FluxBB