Hi there,
Is it possible to create an ajax submitted form without
lost the validation error messages?
I have a view with this form
form(null, 'post', array('update'=> 'someDiv',
'indicator'=> 'divIndicator', 'url'=> array('controller'=> 'comments',
'action'-> 'add')));
echo $form->inputs();
ech
same as without cake!
usually execute "executes" (boolean true/false)
and query can fetch, update, delete, insert...
in cake you usually need only query
On 5 Sep., 22:12, Miles J wrote:
> query() is used by you manually within your Models. execute() is
> called privately within the Model class
well
i ususally put my analytics at the very bottom of the default layout
a) every site gets tracked automatically
b) all ajax requests are not effected (layout plain etc)
if you really need to use analytics there too
you could do that by adding it there again (some toggle variable)
On 5 Sep.,
> That did it, thanks very much. Off the top of your head, is there any
> relatively complete documentation about the console switches
> available? I haven't been able to find much console info in the
> CakePHP.org docs.
You're welcome. I've found the switch running "cake schema" and
reading the
I was able to find a workaround using mod_rewrite (a module that continues
to amaze me with its usefulness). So for anyone else who needs to use the
http authentication methods of the Security Component while running php
through cgi, here's what I did to get it working:
In the .htaccess file in th
query() is used by you manually within your Models. execute() is
called privately within the Model class.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@
Try adding 'plugin' => false to the array.
On Sep 5, 2:01 am, Stefan wrote:
> Hey hello i'm new to cakephp but i think it's a really cool thing to
> learn and so fare all went well. But now I have a problem and i can't
> figure it out by my self.
> I have a plug in and I visit the plug in over
Here you go, this will do what your asking for model associations.
http://www.pseudocoder.com/archives/2009/04/17/on-the-fly-model-chains-with-cakephp/
But yes, since it supports PHP 4 it wont do lazy loading, its a future
feature.
--~--~-~--~~~---~--~~
You receiv
Hey wirtsi...
Would you mind sending me your replies to the blog post via e-mail?
For some reason I'm not picking them up. I'm very eager to get the
grouping working in my project so I can show the customer.
Thanks!
On Sep 2, 10:47 am, FrederickD wrote:
> Thanks for your reply! I am missing th
Well personal opinion I guess. Im against using ajax for pagination
(for many obvious reasons), and for "tricking" google thinking its a
page view, when it is not. To each his own I guess.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
i had another problem with smtp and the email component
is this a bug? or a problem on freenet.de?
"
Hi. This is the qmail-send program at mail.gmx.net.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
I looked up in cakePHP Manual 1.2 and 1.1, but not found the answer.
Thanks in advance for any answer.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@goo
Oh boy, what a difference a night of sleep makes. I went to grab the
model for my missing database table and the problem jumped right at
me:
var $useDbConfig = 'local';
was found at the top of the work.php model, I switched it to 'default'
and voila, it worked. So *this* is another solution for
You need a model to use query() because it's a model method.
On Sat, Sep 5, 2009 at 6:35 AM, cogitovn wrote:
>
> I create a new component.
> I've known how to using a model from a component, by
> ClassRegistry::init().
> For complex query, I can not use model. Instead, I write sql script
> and ex
Behavior methods of associated models are not triggered, unfortunately.
On Sat, Sep 5, 2009 at 5:21 AM, schneimi wrote:
>
> Hi,
>
> I have created a simple behavior that can serialize (beforeSave) and
> unserialize (afterFind) certain fields of a model.
>
> If I do an action directly on the model
This can happen when Cake cannot locate the file for your model. Check
that the file isnamed correctly: for MyModel the filename should be
my_model.php.
On Fri, Sep 4, 2009 at 11:27 PM, learning_cake_php wrote:
>
> well i dont know why cake behaves like this..
> i had model:
>
> class MyModel ext
Do you have a CakeInstall model? Is it named cake_install.php? Do you
have a fdir_cake_installs DB table? Is that a name you provided for
$useTable?
What's CakeInstall model for, anyway?
On Fri, Sep 4, 2009 at 9:54 PM, Scott Kustes wrote:
>
> Anyone? Does anyone know what I need to do to get th
I think it would be the simplest approach.
On Fri, Sep 4, 2009 at 4:29 PM, McScreech wrote:
>
> Hello,
>
> I am converting an existing db to a web-based app. For most of the
> tables I have created a standard auto-incrementing integer id column.
> However, two of them have a pre-existing id colum
This isn't a Cake issue, it's DNS. Search google for that error and
you'll find some information about it (that's about all I can tell you
about it).
But it may be simply that you have a typo: "smpt.1und1.de" should
probably be "smtp.1und1.de".
On Fri, Sep 4, 2009 at 7:03 PM, Benedikt R. wrote:
Hi keyser_soze83
When I have trouble problems to install cakephp on a server, I use
this method and never fails:
1.- Create an Alias on httpd.conf
Alias /cakesite /home/user/public_html/cakesite
2.- Edit all .htaccess.
Add: RewriteBase /cakesite after "RewriteEngine on" and before of
"Rewrite R
I create a new component.
I've known how to using a model from a component, by
ClassRegistry::init().
For complex query, I can not use model. Instead, I write sql script
and execute it. But component doesn't support this method.
Anyone could tell me?
--~--~-~--~~~---~-
Hi Marco
I needed something like what you want. I decided to convert "Encode
Explorer" on a Controller. And extend it to where I need it.
http://encode-explorer.siineiolekala.net/
Saluos!
On Sep 4, 8:40 am, Marco wrote:
> Hi guys,
>
> I'm wondering how I can combine CKEditor's image function
Hi Xanax
Try this http://bakery.cakephp.org/articles/view/increment-behavior
Saluos!
On Sep 4, 8:30 am, Xanax wrote:
> Hi,
>
> I have a BIG problem.
>
> There is no autoincrement option in Oracle like in MySQL.
>
> Apparently, with CakePHP and Oracle, people use sequences and triggers
> to byp
Are your database connection settings different on your production and
development servers? Do you have other models that work?
On Sep 5, 1:55 am, mikeottinger wrote:
> Hi All,
>
> I just deployed the beginnings of a new site onto a little
> development space up on my host server. Everything
bhushan,
I think the problem is the text is not yet inside the textarea. Before
you validate the value you can do this:
get the content from fck:
var oEditor = FCKeditorAPI.GetInstance(instancename);
var contents = oEditor.GetXHTML(true);
validate the var contents or copy the content i
Thanks for the link, that sorted it just fine.
On Sep 4, 6:52 pm, majna wrote:
> http://www.sanisoft.com/blog/2008/08/22/using-cakephp-without-a-datab...
>
> On Sep 4, 5:53 pm, DavidH wrote:
>
> > Hi All
>
> > I'm currently prototyping an application that's going to use a
> > document database
@Miles J
Twitter do it already.
I need to paginate through results and have a GA record of this. In
old days it would have been multi pages, but these days clients expect
it in AJAX and want the GA data, too...
--~--~-~--~~~---~--~~
You received this message beca
@housebolt - unfortunately no
I sometimes echo directly in controller and then exit, and sometimes
use the requesthandler to render my layout (with no layout specified,
I guess)
Perhaps if requestHandler uses the ajax layout in the cake/lib/views/
layouts/ directory, I could amend that, but the
@housebolt - unfortunately no
I sometimes echo directly in controller and then exit, and sometimes
use the requesthandler to render my layout (with no layout specified,
I guess)
Perhaps if requestHandler uses the ajax layout in the cake/lib/views/
layouts/ directory, I could amend that, but the
Hey hello i'm new to cakephp but i think it's a really cool thing to
learn and so fare all went well. But now I have a problem and i can't
figure it out by my self.
I have a plug in and I visit the plug in over the url pluginname/
controller/action and i want to go back over a navigation menue th
Hi,
I have created a simple behavior that can serialize (beforeSave) and
unserialize (afterFind) certain fields of a model.
If I do an action directly on the model like $this->Model->find(...),
I get the unserialized data, but if I catch the Model fields with
containable like $this->OtherModel->
please post your model and database structure for us to envistigate; )
On Sep 4, 11:55 pm, mikeottinger wrote:
> Hi All,
>
> I just deployed the beginnings of a new site onto a little
> development space up on my host server. Everything works great in my
> local environment. But upon deploy, I
well here i am again..actually i removed the original post and edited
it so that it will be clearer to all of us:
here we go:
i just try to explain the problem after theses snippets of code:
db structure:
1. model1
-id
2. model2
-id
3. model1_model2
-id
-model1_id
-model2_id
model:
class
Hi
I have noted that in my page I use heavily the ajax helper and
javascritpt helper.
Now I would move all this code generating by these helpers in a single
js file (inside webroot).
My question is what is the way (the best way) for to this?
More precisely I would continue to use Ajax helper and J
Yes, why would you change your salt value?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
As explained in the OP, it always renders a space after the link,
which is not good if you want a fullstop or a comma straight after the
link.
On Sep 1, 5:03 pm, brian wrote:
> Glad to help. But how is it a problem? Is that causing display issues
> somehow? It shouldn't, AFAIK.
>
> On Tue, Sep 1
36 matches
Mail list logo