Re: [fw-general] Zend_Form Decorator Help

2008-08-20 Thread dinok
Hi, yes I've got a working solution. I create a DisplayGroup with the elements for the right side. Then I push all buttons inside this group. After doing this I clear all decorators for this display group and add only my new ActionButtons decorator. In this button I render a div around the

[fw-general] Zend_Form Decorator Help

2008-04-09 Thread dinok
Hi guys, I want to display my input buttons (submit reset) at the top of the form on the right side. For example like magento (http://www.ecommerceoptimization.com/wp-content/uploads/2007/07/customer_edit.PNG).. So the html solution is working. div style=float: right; ?= $this-form-submit; ?

Re: [fw-general] Zend_Form Decorator Help

2008-04-09 Thread dinok
I already thought about the display groups. Maybe it's possible to modifiy them in this way. But I don't know how to do :confused: -- View this message in context: http://www.nabble.com/Zend_Form---Decorator-Help-tp16588179p16590562.html Sent from the Zend Framework mailing list archive at

Re: [fw-general] Library for writing config (INI) files to disk?

2008-03-05 Thread dinok
Have a look at http://www.zfforum.de/showthread.php?t=1453 It's a german page, but you should be able to copy some source :-D Best regards Vincent-20 wrote: Hi, For my project, I'd like to be able to update INI files. Since Zend_Config_Ini does not have the ability to write to files, I

Re: [fw-general] Zend_Form bug: getAttribs() doesn't return set attributes

2008-01-26 Thread dinok
It doesn't work with 5.2.1, too :) Since I migrated to 5.2.5 it works fine. But I have to agree with Simon, because in the Zend_Form.php it's also an array which stores the attributes! So why to build two different solutions for the same problem? Best regards -- View this message in context:

Re: [fw-general] HeadScript

2007-12-13 Thread dinok
Store the scripts in an array in the registry or in an action helper. Remove duplicate keys / check before adding them (array_key_exists) and at the end you render them with the helper (for example, build an headScriptMultiple($myArray) viewHelper). -- View this message in context:

Re: [fw-general] New ideas/questions for Zend_Db_Table

2007-11-14 Thread dinok
Matthew Weier O'Phinney-3 wrote: You may want to look at the work Simon Mundy is doing. He's adding support for Zend_Db_Select in Zend_Db_Table, and part of this is the ability to return result sets from JOINs. This is currently not possible :( See:

Re: [fw-general] Zend_Form

2007-11-09 Thread dinok
Looks nice! Thank you for the link. I've got one question. Is there already something like API freeze planed? Because I want to use Zend_Form in a new project. Best regards -- View this message in context: http://www.nabble.com/Zend_Form-tf4719410s16154.html#a13672889 Sent from the Zend

[fw-general] Models with Oberserver Pattern

2007-10-21 Thread dinok
Hi guys, as I think, the model part in the framework isn't really given and there aren't any standards. So I often heard something about the Observer Pattern, in common... Not only for php. But I don't find any good articles on this pattern. In the SPL library exists a Component for the Observer

Re: [fw-general] Best place to specify encoding

2007-10-14 Thread dinok
You have to enable the encoding in the database and on startup: $db-query(SET NAMES 'utf-8'); This should work! -- View this message in context: http://www.nabble.com/Best-place-to-specify-encoding-tf4621717s16154.html#a13199708 Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Zend_Search_Lucene, getting $doc id while indexing

2007-09-08 Thread dinok
Hi guys, Is there a possibility to get the current id of a new document in the index? For example something like this: $index-addDocument($doc); $docid = $doc-id; Because I need these ids to synchronisize my database (There is a column with lucene_id) with the index. This is needed if i want