[fw-general] howto define a table in a config.ini

2010-01-30 Thread Mike Wright

Hi all,

history
I've created a generic form engine.  Everything exists in .ini files.
/history

There is now a need to have some table structures in some of the forms 
but because all the forms are rendered based on .ini files I can't 
insert html views into them.


Not sure how to google this one.  Tried and failed...

Does anybody know how to define an html table / structure using 
config.ini syntax?


If so, would somebody be so kind as to post a link to an example or 
reference, or a hint as to how to do so?


million tia,
Mike Wright


Re: [fw-general] howto define a table in a config.ini

2010-01-30 Thread Konr Ness
I've never used .ini files for configuring a form, but in general, you need
to modify the form and element decorators to render the elements in a table
(instead of the default dd's and dt's).

Check this blog post out:
http://zendgeek.blogspot.com/2009/07/zend-form-decorators.html

It's not in .ini format, but it should hopefully get you started.

Konr

On Sat, Jan 30, 2010 at 3:08 PM, Mike Wright mike.wri...@mailinator.comwrote:

 Hi all,

 history
 I've created a generic form engine.  Everything exists in .ini files.
 /history

 There is now a need to have some table structures in some of the forms but
 because all the forms are rendered based on .ini files I can't insert html
 views into them.

 Not sure how to google this one.  Tried and failed...

 Does anybody know how to define an html table / structure using
 config.ini syntax?

 If so, would somebody be so kind as to post a link to an example or
 reference, or a hint as to how to do so?

 million tia,
 Mike Wright