Actually the best thing would be if the whole project used a popular CSS
framework but I know it is too much to ask at this point and a well written
bootstrap based formhelper would take away most of my pain at this point.

I think I will borrow the widgets and helpers from the crud-view plugin :)

Cheers
T




On Wed, Aug 6, 2014 at 8:14 PM, Thomas von Hassel <darx...@gmail.com> wrote:

> Indeed, the only things i would like is:
>
> place checkbox inside it’s label like bootstrap wants it without hacking
> things together
> set a class on a container from field to field
>
>
> On 06 Aug 2014, at 16:30, Dr. Tarique Sani <tariques...@gmail.com> wrote:
>
> Thanks for the URL that is helpful.
>
> Regards
> Tarique
>
>
> On Wed, Aug 6, 2014 at 6:15 PM, José Lorenzo <jose....@gmail.com> wrote:
>
>> you can change the widgets to whatever you like, including the basic
>> widget. Here is a plugin that does that, for example:
>>
>> https://github.com/FriendsOfCake/crud-view#example-controller
>>
>>
>> On Wednesday, August 6, 2014 1:52:02 PM UTC+2, Thomas von Hassel wrote:
>>>
>>> It is cleaner … and maybe i just need to fiddle with it some more.
>>>
>>> For instance being able to set a class to the container div without
>>> having to make a template would be nice ?
>>>
>>> On 06 Aug 2014, at 13:42, Dr. Tarique Sani <tariques...@gmail.com>
>>> wrote:
>>>
>>> But template is a much cleaner way to do it. Most of the times you can
>>> just define templates and get away with it.
>>>
>>> I am loving it!
>>>
>>> T
>>>
>>>
>>> On Wed, Aug 6, 2014 at 5:10 PM, Thomas von Hassel <darx...@gmail.com>
>>> wrote:
>>>
>>>> Hey
>>>>
>>>> If i can chime in, the template system is very clever, but in
>>>> comparison to the way it was done in 2.x there are quote a few more hoops
>>>> to go though to achieve certain things.
>>>>
>>>> /thomas
>>>>
>>>>
>>>> On 06 Aug 2014, at 13:30, Dr. Tarique Sani <tariques...@gmail.com>
>>>> wrote:
>>>>
>>>> Thanks, but if I look at
>>>>
>>>> 'inputContainerError' => '<div class="input {{type}}{{required}}
>>>> error">{{content}}{{error}}</div>',
>>>>
>>>> I can remove the {{error}} here but then there will be no way to show
>>>> it at all by setting ['error'=>true]
>>>>
>>>> 'inputContainer' => '<div class="input {{type}}{{required}}">{{
>>>> content}}</div>',
>>>>
>>>> There is no way to remove label here... {{content}} has got label
>>>> inside it.
>>>>
>>>> So I should look at coding a custom helper?
>>>>
>>>> Tarique
>>>>
>>>>
>>>>
>>>>
>>>> On Wed, Aug 6, 2014 at 4:49 PM, José Lorenzo <jose....@gmail.com>
>>>> wrote:
>>>>
>>>>> Wouldn't that be possible by altering the inputContainer and
>>>>> inputContainerError templates?
>>>>>
>>>>>
>>>>> On Wednesday, August 6, 2014 11:30:02 AM UTC+2, Dr. Tarique Sani wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Playing around with form helpers  and form widgets in Cake 3
>>>>>>
>>>>>> Is there a way to override the Basic Widget with my custom Basic
>>>>>> Widget and have options 'error'=>false, 'label'=>false by default?
>>>>>>
>>>>>> OR this can't be done in the widget and will have to go into my
>>>>>> custom form helper
>>>>>>
>>>>>> TIA
>>>>>>
>>>>>> Tarique
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> =============================================================
>>>>>> The Conference Schedule Creator : http://shdlr.com
>>>>>>
>>>>>> PHP for E-Biz : http://sanisoft.com
>>>>>> =============================================================
>>>>>>
>>>>>
>>>>> --
>>>>> Like Us on FaceBook https://www.facebook.com/CakePHP
>>>>> Find us on Twitter http://twitter.com/CakePHP
>>>>>
>>>>> ---
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "CakePHP" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to cake-php+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to cake-php@googlegroups.com.
>>>>> Visit this group at http://groups.google.com/group/cake-php.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> =============================================================
>>>> The Conference Schedule Creator : http://shdlr.com
>>>>
>>>> PHP for E-Biz : http://sanisoft.com
>>>> =============================================================
>>>>
>>>> --
>>>> Like Us on FaceBook https://www.facebook.com/CakePHP
>>>> Find us on Twitter http://twitter.com/CakePHP
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "CakePHP" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to cake-php+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to cake-php@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/cake-php.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>>
>>>>
>>>> --
>>>> Like Us on FaceBook https://www.facebook.com/CakePHP
>>>> Find us on Twitter http://twitter.com/CakePHP
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "CakePHP" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to cake-php+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to cake-php@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/cake-php.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> =============================================================
>>> The Conference Schedule Creator : http://shdlr.com
>>>
>>> PHP for E-Biz : http://sanisoft.com
>>> =============================================================
>>>
>>> --
>>> Like Us on FaceBook https://www.facebook.com/CakePHP
>>> Find us on Twitter http://twitter.com/CakePHP
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "CakePHP" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to cake-php+unsubscr...@googlegroups.com.
>>> To post to this group, send email to cake-php@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/cake-php.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>> --
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "CakePHP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cake-php+unsubscr...@googlegroups.com.
>> To post to this group, send email to cake-php@googlegroups.com.
>> Visit this group at http://groups.google.com/group/cake-php.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> =============================================================
> The Conference Schedule Creator : http://shdlr.com
>
> PHP for E-Biz : http://sanisoft.com
> =============================================================
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>
>
>  --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> To post to this group, send email to cake-php@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
=============================================================
The Conference Schedule Creator : http://shdlr.com

PHP for E-Biz : http://sanisoft.com
=============================================================

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to