[fw-general] Problem with Zend 1.12 Form

2013-03-12 Thread tpol
I'm working on a site that someone else made, it doesn't currently use zend forms so I'm thinking of replacing some of the raw html forms with zend forms. I've added a test form: class App_Form_TestForm extends Zend_Form { public function __construct() {

[fw-general] Re: Problem with Zend 1.12 Form

2013-03-12 Thread Razorblade
Hi, override init() hook instead of __construct() in order to create your form: class App_Form_TestForm extends Zend_Form { public function init() { // add your elements here } } Give it a try and let me know! Cheers -- View this message in context:

[fw-general] Re: Problem with Zend 1.12 Form

2013-03-12 Thread tpol
Sadly the same error. Thanks. -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Problem-with-Zend-1-12-Form-tp4659435p4659437.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info:

[fw-general] ZF2 radio buttons with images

2013-03-12 Thread Ralf Eggert
Hi, I want to create a set of radio buttons with images as the labels. But the images are escaped by default. How can I disable the escaping for a radio button form element? Regards, Ralf -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe:

Re: [fw-general] Re: [ZF2] Building CMS (admin/front application) concepts.

2013-03-12 Thread Pierre Rambaud
Hi, Here an example about CMS based on ZF2 with only one application, there're modules for Back (Admin, Development, Statistics, ...), and Application module define the Front https://github.com/PierreRambaud/GotCms I think there's no best way to do some thing, create what makes you feel good ;)

[fw-general] Struggling with Zend\Db

2013-03-12 Thread Brad Waite
Hello, Great Zend Masters! I need to separate some bits of a ZF1 project into a new project and figured the shiny new ZF2 was the way to go. Zend_Db in ZF1 was very straightforward to me. However, I'm having a hard time figuring out how to apply what's being done in ZF1 in the new ZF2 Zend\Db.

Re: [fw-general] Struggling with Zend\Db

2013-03-12 Thread Ralph Schindler
On the surface, it appears that Zend\Db\TableGateway corresponds to Zend_Db_Table, Zend\Db\ResultSet to Zend_Db_TableRowset, and Zend\Db\RowGateway to Zend_Db_Table_Row. If so, should I use the ZF2 classes the same way I did their counterparts in ZF1, or has the whole paradigm shifted? This