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

Rob Allen's Blog: An introduction to Zend\EventManager

Padraic Brady's Blog: Chapters One and Two of "Zend Framework: Surviving the Deep End" Book Released

Jani Hartikainen's Blog: Complex custom elements in Zend_Form

DevShed: Building a PHP 5 Form Processor - Using the Form Processor Package

Evert Pot's Blog: PHPUnit3 : first impressions


Community Events





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


install interview release package opinion library update laravel symfony deployment tips zendserver podcast language list framework community api series introduction

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