|
|||
|
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. |
|
||||
|
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 |
|
|||
|
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. |
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|