Re: passing to 1.2.x.x some doubts

2008-05-31 Thread Alessio
Nice Adam,yes I will look through the code in order to understand... I have a lot of stuff 1.1, that i need to convert... I dont know if this is a good or not... But I want to try to get satisfation from learning the 1.2 and to believe that it is better... And I will use $form helper... Interestin

Re: passing to 1.2.x.x some doubts

2008-05-31 Thread Adam Royle
All of the form related methods that were in $html are now in $form (which makes much more sense), but may be named differently. You can also do this to remove the div as well. $form->input('Model.fieldname', array('label' => false, 'div' => false)); I recommend using the $form->input method on

Re: passing to 1.2.x.x some doubts

2008-05-31 Thread Alessio
Nice, thanks dear, with this , very useful, the label disappar... Only some precisations.. $form->input('Model.fieldname', array('label' => false)); this will generate a div wrapping the input field... If I need only a pure input field... some options ? It is not so graviuos having a Div , b

Re: passing to 1.2.x.x some doubts

2008-05-30 Thread Adam Royle
You must change a bit when moving from 1.1 to 1.2, pretty much everything is still in there, just in a different form. For your form/label issue... try doing this: echo $form->input('Model.fieldname', array('label' => false)); Maybe if you work your way through the Cookbook (http:// book.cakeph

passing to 1.2.x.x some doubts

2008-05-30 Thread Alessio
I want to ask some people, if it is a good idea, in general, passing to new version... I want for example to use, some old methods, and Cakephp Engine, often tells that , this or that is deprecated... First Question, I will stress you, often ;)...Very thanks Can I use the old helper $html..., I