ShellDispatcher help

2013-11-01 Thread Jared Testa
I'm new to CakePHP. My first install was 2.4.1, right before .2 came out. I tried using Shell in .1 and got an error. I also noticed the update the same time, so I went ahead and updated to .2. I'm getting a syntax error when trying to run Console/cake. Parse error: syntax error, unexpect

Re: No ID returning from the model when inserting new record

2009-05-22 Thread Jared
getInsertID as well as $this->Model->id also both do not work for me. On May 15, 12:43 am, "oly.yates" wrote: > Yes I tried that and it didn't work had the same problem as if I did > $this->Document->id, > would return the id only on saving an existing document not on saving > a new Document --~

Re: How do I pass data from my javascript in 'before' to my controller?

2009-05-14 Thread Jared
} } notes.reverse(); nums.reverse(); ')); On May 14, 10:23 am, Jared wrote: > Thanks for the response, b

Re: How do I pass data from my javascript in 'before' to my controller?

2009-05-14 Thread Jared
Thanks for the response, but how do you append to a form with javascript? On May 14, 1:00 am, "Dr. Loboto" wrote: > Append collected data to form as hidden inputs with cake-style names. > You'll receive it in $this->data > > On May 14, 11:48 am, Jared wrote: >

How do I pass data from my javascript in 'before' to my controller?

2009-05-13 Thread Jared
I want to analyze some forms in the 'before' code execution of my ajax call, then pass the collected data to my controller action to decide what to do. How can I do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

Ajax before and after options

2009-05-13 Thread Jared
Is it possible to pass the values of variables obtained in my javascript code executing before the ajax call to the script i execute after the ajax call returns? basically i have a dynamic form that gets new elements based on some logic depending on what the user clicks. The form has some text i

Re: Problems with using set()

2009-01-08 Thread Jared
The foreach loop is working on a copy of $travelogue. So you either need to pass it in by reference by doing: foreach ( $travelogues as $travelogue){ ...} unset($travelogue). This will only work in php5. volka wrote: > Hi there, > > I have the following index() method in my controller: > > func

Re: Is the cookbook broken, or is it just me?

2008-10-25 Thread Jared
Not just you. I can't see anything either. Bummer. On Oct 25, 2:56 pm, Brenda <[EMAIL PROTECTED]> wrote: > I'm trying to access the cookbook athttp://book.cakephp.org/, but all > I see is a bunch of 'This section is yet to be written.' It worked > fine last night. Perhaps someone is working on

Re: using nested requestActions, from shell

2008-10-19 Thread jared
Mark, thanks or the sapi_name forgot about that. However the reuqestAction calls cant be moved to models as they are dealing with plugins that may or may not be present and i am using requestAction with a config to dynamically acess them. Essentially i have a very very basic hook/ observer event f

using nested requestActions, from shell

2008-10-19 Thread jared
on is being called from the shell for itself and all of the child requestAction calls? Thanks, jared --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send em

Re: Attm behaviour without finfo functions

2008-08-28 Thread Jared
On Aug 19, 10:34 am, Jared <[EMAIL PROTECTED]> wrote: > David, > The documents confused me when it asked me to go to the other text > file and do the install except for a certain part. I also was confused > on what actually media root refers to and where to put the directories >

Re: Attm behaviour without finfo functions

2008-08-19 Thread Jared
David, The documents confused me when it asked me to go to the other text file and do the install except for a certain part. I also was confused on what actually media root refers to and where to put the directories that it talks about. Maybe just combine the instructions into one document. I've h

Re: Setting the meta description

2008-05-20 Thread Jared
Kyle, Thanks that is what I ended up doing just wanted to make sure that was the right way to do things. On May 19, 6:41 pm, Kyle Decot <[EMAIL PROTECTED]> wrote: > This is how I do it. In my layout I have: > > content = ''$metaDescription" />"; } ?> > > then in my controller, I do: > > $md = "M

Setting the meta description

2008-05-19 Thread Jared
Hey all, I have recently been tasked with maintaining a cakephp application. I am trying to make it a bit more seo friendly by doing the custom page titles and meta descriptions. The meta description has been pretty straight forward in being able to set the pageTitle in the controller. Is there a