Thursday, November 3, 2011

Re: How about using real HTML templates for Form input fields?

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 <lubomir.st...@gmail.com> 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.

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: