Re: error after loading cakephp at dreamhost (newbie)

2011-10-22 Thread manuj
problem solved On Oct 21, 9:09 pm, manuj wrote: > error after loading cakephp at dreamhost > > Fatal Error (256): [MissingHelperException] Helper class FormHelper > could not be found. > #0 /home/legalpanda/legalpanda.abmantech.com/lib/Cake/View/ > View.php(577): HelperColl

error after loading cakephp at dreamhost (newbie)

2011-10-21 Thread manuj
error after loading cakephp at dreamhost Fatal Error (256): [MissingHelperException] Helper class FormHelper could not be found. #0 /home/legalpanda/legalpanda.abmantech.com/lib/Cake/View/ View.php(577): HelperCollection->load('Form', Array) #1 /home/legalpanda/legalpanda.abmantech.com/lib/Cake/Vi

Re: break the code for controller file

2008-04-02 Thread manuj bansal
I have tried it down by making simple php file (quality.php) and then add functions in quality.php from animals controller then i use include("quality.php") in animals controller but it doesn't work On Wed, Apr 2, 2008 at 4:12 PM, Adam Royle <[EMAIL PROTECTED]> wrote: > > Well, CakePHP is just re

Re: Autocomplete

2008-02-26 Thread manuj
nsole message indicates that Ajax.Autocompleter is "undefined" > so there must be some problem with js files broken or not loading. > > On Feb 26, 4:57 am, manuj <[EMAIL PROTECTED]> wrote: > > > Sorry I have not given enough details > > > prototype is i

Re: Autocomplete

2008-02-25 Thread manuj
Sorry I have not given enough details prototype is included properly i get console error message in firbug of firefox --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send

Autocomplete

2008-02-25 Thread manuj
I have folowed all the instruction in tempdocs for making autocomplete I get console error "Ajax.Autocompleter is not a constructor" and in html "autocomplete = off" thanks in advance for help --~--~-~--~~~---~--~~ You received this message because you are subscr

newbie : want 2 pagination on a same page of same table

2008-02-20 Thread manuj
I have one table name users In this I like to paginate two different users list one is from asia (first list) and another from africa (second list) Problem is coming that when i go to second page of first list (asian users) it also shows the second page of second list (african users) i have tri

bug in xml

2008-02-01 Thread manuj
i have put some xml code in views/controller/xml/action.ctp, when I run this code http//servername/controller/action.ctp, it gives error due to blank charcters before starting of code --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: want to call function in default ctp from app model

2007-12-17 Thread manuj bansal
able with the result. That will then work fine > when called via requestAction. This will work, but it's not exactly > best practice. > > Tufty > > On Dec 17, 6:07 am, manuj bansal <[EMAIL PROTECTED]> wrote: > > > > > i know the metod of calling functions fro

Re: want to call function in default ctp from app model

2007-12-16 Thread manuj bansal
r in your question. > > You cannot call model functions from a view. You must call the model > function from your controller, and set() the data for the view. > > On Dec 17, 3:09 pm, manuj bansal <[EMAIL PROTECTED]> wrote: > > > > > my code is as follows > &g

how to call function from app model in view file

2007-12-16 Thread manuj bansal
I want to call function in view by passing argument and wanted a value in return ***app_model.php (code)** function abc ($y) { $v = $this->query(using $y in query); return $v; } **

want to call function in default ctp from app model

2007-12-16 Thread manuj bansal
my code is as follows ***app_model.php (code)*** function abc($y) { $v = $this->query(using $y); return $v; } *default.ctp (code)** i want to call above function fr

Re: select box validation in CakaPHP 1.2

2007-10-20 Thread manuj bansal
your problem may be solved by this link http://groups.google.com/group/cake-php/browse_thread/thread/8c89ca42d68496a0/89e2724d53aaad65?lnk=gst&q=select+box+validation#89e2724d53aaad65 On Oct 20, 12:50 pm, senser <[EMAIL PROTECTED]> wrote: > Hi manuj. > > Your proposal didn

Re: select box validation in CakaPHP 1.2

2007-10-20 Thread manuj bansal
thanks for info i am not sure about it as mannual, it looks they remove $html->submit but they didn't mention their about $form->submit will be depreceated On Oct 20, 12:50 pm, senser <[EMAIL PROTECTED]> wrote: > Hi manuj. > > Your proposal didn't solve

Re: want to update more than one fields in one query

2007-10-19 Thread manuj bansal
you carefully (and fully) > explain what you have vs what you want in complete English sentences. > > Wayne > > On 10/19/07, manuj bansal <[EMAIL PROTECTED]> wrote: > > > > > > > i want to update and add more than one fields in one query in > > cake

want to update more than one fields in one query

2007-10-19 Thread manuj bansal
i want to update and add more than one fields in one query in cakephp1.2 becuse it is running many queries at at time in one bye one thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" gro

Re: select box validation in CakaPHP 1.2

2007-10-19 Thread manuj bansal
i didnt get your code you want select option then why r you going thru input function try it *view code echo $form->label('modelname.name') echo $form->select('modelname.name',array('value'=>'text')); echo $form->error('it can't be blank');

Re: problem in validation due to loop in view file

2007-10-19 Thread manuj bansal
i am working in cakephp1.2 **Model Code*** my view code is like this $i=0; foreach($rows as row) { $i++ echo $form->submit('Modelname.

problem in validation due to loop in view file

2007-10-18 Thread manuj bansal
i am working in cakephp1.2 my view code is like this $i=0; foreach($rows as row) { $i++ echo $form->submit('Modelname.name'.$i,array('labe'=>'labelname','error'=>'length should be less than 20 characters')); } in my model code validation is like this var $validate = array(*'name*' => a

Re: want cake php tutorial

2007-10-14 Thread manuj bansal
one is wel known www.manual.cakephp.org another is http://www.ibm.com/developerworks/opensource/edu/os-dw-os-php-cake1.html On Oct 14, 8:17 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > can some buddy give me good tutorial of cake php > plz give me i am want to work with cake php an i do