Hi, companions:
I've succesfully installed Xinha. I've activated 'insert images' plugin.
When I try to insert an image in the editor, a window is opened with the text 'images on the server'.
Where is xinha searching for the images?
Thanks a lot.
edited by: belitre, Dec 04, 2006 - 11:42 PM
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
- nestormateo responded to »Fillters in Clip« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Xinha images directory
-
- Rank: Team Member
- Registered: Jul 15, 2004
- Last visit: May 27, 2010
- Posts: 277
Take a look into /modules/xinha/pnincludes/plugins/ImageManager/config.inc.php
By default the plugin stores the pictures into a subfolder of /ImageManager.
I changed the following config to a separat directory [root]/images/xinha
Code
$IMConfig['images_dir'] = $_SERVER['DOCUMENT_ROOT'].'/images/xinha/';
Code
$IMConfig['images_url'] = $GLOBALS['SITE_ROOT']. "/images/xinha/";
Do the same, if you are using the ExtendedFileManager. -
- Rank: Developer
- Registered: Aug 05, 2003
- Last visit: May 06, 2010
- Posts: 187
belitre is using "InsertPicture"-plugin, not ImageManager, Carsten ;)
Try "ImageManager" as mentioned above, so you can upload pictures ;)
Perhaps a look at /xinha/pnincludes/plugins/InsertPicture/insert-picture.js would help. The config-code has to be added to /xinha/pntemplates/xinha_editorheader.html .
Only activate ONE of the following image-plugins:
InsertPicture
ImageManager
ExtendedFileManager (recommended for uploads)
Next release of xinha (1.1) will include the demo config code for InsertPicture in templates.
--
| scribite! | TNGz | piwik | zweet | -
- Rank: Team Member
- Registered: Jul 15, 2004
- Last visit: May 27, 2010
- Posts: 277
Hi Sven
you're right. I did not saw that he uses the InsertPicture-Plugin.
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Ouch!
the activation WARNING of Only ONE of the images plugin must be explicit in the admin config...
but still i get an error Inserting an Image:
i've activated InsertPicture but when open the popup lauchs an error because try to open a bad URL (/plugins) without include /modules/scribite/pnincludes...
also i've used ImageManager and can upload, new folder, etc, but when i insert an image, and submit the doc, the image simply was not inserted in the article.
when i try to see the HTML code, Firebug detects an error in XinhaCore.js (line 4217): "base_m has no properties"
once time that i don't know how i can insert the image, when i try to edit again the article, again the XinhaCore.js error but this time the textarea was disabled and without content... the image has blocked the initialization of the editor!
what i do? the ImageManager doesn't works!
--
- Mateo T. -
Mis principios... son mis fines
- Moderated by:
- Support
