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

IT Jungle: PHP and the Zend Framework

Cal Evans' Blog: Packaging Zend Framework As A Phar Revisited

PHPRiot.com: Zend Framework 101: Zend_Oauth

CodeSnipers.com: HTML Helpers - Ruby Wannabes in PHP

NETTUTS.com: Sanitize and Validate Data with PHP Filters


Community Events





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


introduction interview update laravel podcast version mvc symfony opinion library security community package voicesoftheelephpant release language framework composer tool series

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