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

CodeForest.net: Android JSON-RPC client and PHP Zend Framework server

Francois Zaninotto's Blog: Chapter 10 - Forms

MaltBlue.com: Zend Form Mastery with Zend Config - Part 1, Custom Filter Paths

Matthew Weier O'Phinney's Blog: Applying ACLs to Models

Eran Galperin's Blog: Passing arrays to Zend_Controller_Router


Community Events





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


series language introduction podcast community install opinion interview refactor configure framework laravel testing unittest developer wordpress threedevsandamaybe code release list

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