Re: Can cake bake generate input list box in View?

2012-12-18 Thread Sam
Sorry for being vague. The table exist by itself and does not have any relationship with any other tables. The fields are custom-selected. Will it be a problem if the fields do not come from related tables? Thank you. On Tuesday, December 18, 2012 10:19:16 PM UTC+8, euromark wrote: > > are you

PaginatorHelper.php I updated to show disabled (current) links

2012-12-18 Thread Ersin Demirtas
Hi! I have updated the numbers function, the bold areas are the updated parts, please tell me if I did wrong, or if you have better code to replace. I did this because currentTag was not available under numbers function so I had to add my self. public function numbers($options = array()) { if

Re: Can cake bake generate input list box in View?

2012-12-18 Thread euromark
are you talking about custom select fields? or the ones that come from related tables? your initial post is too incomplete to answer your question Am Dienstag, 18. Dezember 2012 13:32:55 UTC+1 schrieb Sam: > > Yes. That is right. Can it be done by cake bake? Thank you. > > On Tuesday, December 1

Re: Can cake bake generate input list box in View?

2012-12-18 Thread Jonathan Sundquist
Yes it does it automatically if you specify a join on that field. On Dec 18, 2012 6:33 AM, "Sam" wrote: > Yes. That is right. Can it be done by cake bake? Thank you. > > On Tuesday, December 18, 2012 7:50:49 PM UTC+8, euromark wrote: >> >> do you mean like select boxes? with options filled etc? >

Re: Can cake bake generate input list box in View?

2012-12-18 Thread Sam
Yes. That is right. Can it be done by cake bake? Thank you. On Tuesday, December 18, 2012 7:50:49 PM UTC+8, euromark wrote: > > do you mean like select boxes? with options filled etc? > > > Am Dienstag, 18. Dezember 2012 10:41:52 UTC+1 schrieb Sam: >> >> Dear CakePHP experts, >> >> May I know if i

Re: Can cake bake generate input list box in View?

2012-12-18 Thread euromark
do you mean like select boxes? with options filled etc? Am Dienstag, 18. Dezember 2012 10:41:52 UTC+1 schrieb Sam: > > Dear CakePHP experts, > > May I know if it is possible to use Cake Bake to auto-generate code that > will display an input listbox in View? If yes, how do I specify the > diffe

Re: multiple templates with own path structure

2012-12-18 Thread Mathias R
Could anybody help? Am Dienstag, 11. Dezember 2012 10:46:41 UTC+1 schrieb Mathias R: > > Hi, > > is it possible to emulate or change path structure for templates, to set > different page structures? > > i.e. > View/Themename/Controller/Action.ctp > and Layout files in View/Themename/layout.ctp >

Can cake bake generate input list box in View?

2012-12-18 Thread Sam
Dear CakePHP experts, May I know if it is possible to use Cake Bake to auto-generate code that will display an input listbox in View? If yes, how do I specify the different input list options in the Model? I have searched through the documentation but could not find any solution. I was wonderin