Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-01-2008, 10:33 PM
Junior Member
 
Join Date: Jan 2008
Posts: 2
Default Problem with Xinha editor

Hi,
I have a problem with Xinha as a library, using the 'default' MVC-setup:

application
-controllers
-models
-views
library
-Zend
-Xinha

When viewing a page including Xinha, it loads the editor and works fine. But when the image or table button is clicked, the popup shows the following error: Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (library)'. I'm trying to understand Zend and I wonder what can be done to make this work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-02-2008, 12:17 AM
SpotSec's Avatar
Senior Member
 
Join Date: Feb 2007
Location: United States
Posts: 121
Default

can you post your url specified? and the controller
__________________
Zym Framework - A Zend Framework extension library w/ demo app

SpotSec Blog:
http://spotsec.com/blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-02-2008, 11:08 AM
Junior Member
 
Join Date: Jan 2008
Posts: 2
Default

The application I wrote is just for exploring ZF and therefore very simple. The URL is testapp/cms/home. cmsController with homeAction renders index.phtml ($this->render('index')) in views/scripts/cms. index.phtml is rendering as expected but when a pop-up opens from the toolbar I get that error in the pop-up window.

So Xinha is requesting a URL which is intercepted by the Zend router. I can't imagine that this is a real problem with Zend but I don't know where to look to solve this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 10:53 AM
Junior Member
 
Join Date: Jan 2008
Posts: 2
Default

Xinha requires Images, and Javascript files to be loaded, which should be present in your public directory. Myself, I just uploaded xinha to my public folder and let my RewriteRules allow correct filenames to passthrough and not be bootstrapped, another way around it is to just turn the rewrite engine off with an htaccess in the xinha folder.

We could really use a helper or plugin or something for an Rich Text Editor for the ZendFramework, because i cannot stand the mess that is incorporating things like xinha.

Last edited by joeyadms : 01-05-2008 at 10:59 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:02 PM.