[fw-general] Custom routing on default module controllers

2010-03-06 Thread MrMastermindNL
Hi, I just finished my Zend Framework CMS for a client and the CMS will feed the front end Flash application through Zend AMF. This is all working fine. Now my client wants shadow HTML for SEO. The Flash front end uses SWF address for deeplinking to parts within the Flash application using the br

[fw-general] Zend_Form_Element_Select [Scanned]

2010-03-06 Thread Steve Rayner
I'm using this code to add a select element to my form; // Add the role element $this->addElement('select', 'role', array( 'id' => 'text', 'multiOptions' => array('Reader', 'Author', 'Admin'), 'label' => 'Role:', 'required' => true )); ...and then this in my controller to push the data to the da

Re: [fw-general] Zend_Form_Element_Select [Scanned]

2010-03-06 Thread scs
try: 'multiOptions' => array('Reader'=>'Reader', 'Author'=>'Author', 'Admin'=>'Admin'), On Sat, Mar 6, 2010 at 10:55 PM, Steve Rayner < sray...@williams-refrigeration.co.uk> wrote: > I'm using this code to add a select element to my form; > > // Add the role element > $this->addElement('select'

[fw-general] Resource Loader and PHP5.3 Namespaces

2010-03-06 Thread Andrea Turso
Howdy, I've been playing with PHP 5.3 to try out Doctrine 2 and I fell in love with it =) I was able to set up Doctrine 2 in a couple of days by using a trivial Resource Loader Plugin (http://gist.github.com/323977). The Zend Framework Modula Architecture seems to prevent grouping all Domain Mode

[fw-general] Assign custom view helper | Zend_Form

2010-03-06 Thread pankraz
Hi, i am trying to assign a custom view helper: public $decoRadio = array( array ('ViewHelper' => 'CustomViewHeper'), 'Errors', array(array('data' => 'HtmlTag'), array('tag' => 'span', 'class' => 'name')), array(array('row

Re: [fw-general] How to control 'displayExceptions' in a controller?

2010-03-06 Thread Dasn
On Mon, 01 Mar 2010 07:18:07 +0800, Dasn wrote: Hi guys, I'm trying to control the ErrorController via turning on/off the 'displayExceptions' in a controller, for example: class ViewController extends Zend_Controller_Action { public function init() { /* Initialize action con