In 2.0 you solve this tedious by building/subclassing formhelper. Using the alias feature and writing your own functions to support your needed/different template and format.
On Nov 3, 7:47 pm, Miles J <[email protected]> wrote: > Ive always wanted this. Cakes defaults are pretty handy but once you > want to break out of the norm it gets tedious. > > I would also change the HTML structure but thats just me :P > > @Sherlock - There's not much overhead in doing a basic PHP include. > > On Nov 3, 6:21 pm, 100rk <[email protected]> wrote: > > > > > > Those templates could be "theme" specific (like Twitter Bootstrap) and > > > IMHO only not-so-easy solvable problem with Twitter Bootstrap and cake > > forms is - label wrapped around checkboxes, for both single-ones and > > 'multiple' (wrapped in unordered lists). Rest of it is easy, thanks to > > 'className' key in $helpers and custom aliased YourFormHelper (and > > probably also YourHtmlHelper with either customized $_tags property or > > using 'configFile' configuration setting and proper config file with > > customized and/or added tags in it) where you can inject/set classes/ > > divs etc before call of parent class (FormHelper) methods.o -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
