News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weier O'Phinney's Blog:
Using dijit.Editor with Zend Framework
August 29, 2008 @ 09:33:03

Matthew Weier O'Phinney has posted a tutorial to his blog that shows how to implement the dijit.Editor (a dijit helper that didn't make it into the current release of the Zend Framework).

We're getting ready to release Zend Framework 1.6.0. However, one important Dijit had to be omitted from the release as I was not able to get it working in time: dijit.Editor.

This dijit is important as it provides an out-of-the-box WYSIWYG editor that you can use with your forms. Unfortunately, actually using it with forms is pretty tricky -- Dojo actually ends up storing content outside the form, which means you need to create a handler that pulls the content into a hidden element when saving.

He includes the code for a sample view helper to implement it and how to include it into your Zend_Form via an addElement call.

0 comments voice your opinion now!
dijit editor zendframework dojo helper form zendform


blog comments powered by Disqus

Similar Posts

SmartyCode.com: Serving XHTML in Zend Framework App

Carl Vuorinen: Controller testing with database fixtures in Zend Framework

Rob Allen's Blog: Top Tip: XHTML with Zend Form Elements

Smashing Magazine: The Big PHP IDE Test: Why Use One And Which To Choose

The Bakery: RESTful Web Services With CakePHP


Community Events





Don't see your event here?
Let us know!


symfony developer bugfix podcast zendserver laravel threedevsandamaybe deployment series opinion tips interview framework community introduction list library api language release

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework