News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Richard Thomas' Blog:
Solar Framework Shorts - Controlling form layout
August 17, 2010 @ 14:57:00

Richard Thomas has a new "Solar Short" posted to his blog to make life easier using the Solar Framework. This quick spotlight is about controlling the layout of the standard form renderer.

Solar's form system is pretty powerful and you realize the full beauty when auto generating forms directly from models but by default it uses a DL/DD/DT list for formatting your labels/inputs. If your not a fan of that formatting you can do something about it.

You can define the decorator tags in your framework's installation to replace the tags used for the list, element, label and the value output of the form. One of the comments on the post also suggests using the "decorateAsDiv" method the Solar_Form object provides to force the output into a div.

0 comments voice your opinion now!
solar framework control form output config


blog comments powered by Disqus

Similar Posts

Jim Plush\'s Blog: New AJAX/PHP framework - My-BIC is LIGHT and TASTY!

Sebastian Bergmann\'s Blog: AspectPHP

Jim Plush\'s Blog: MyBic AJAX 0.3 released with EASY FORMS & Debug!

Davey Shafik's Blog: Sneak Peek: Zend_Service_Server - name and framework subject to change

Zend Developer Zone: Are You Ready to R-R-R-R-RROUNDUP!


Community Events

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


php7 example laravel voicesoftheelephpant series api community symfony2 interview performance application podcast language opinion conference configure part2 framework release introduction

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