Validation errors are shown for all forms on page, instead of just for the submitted form.

2009-09-10 Thread Crux
Hi Bakers, I have multiple forms on single page/view, and upon submit, validation errors are shown for all forms, instead of just for the submitted form. This is because multiple forms contain identically named fields: User.email, User.password etc. How do I force Cake to display validation erro

Re: Fatal error: Class 'Dispatcher' not found - please help

2008-09-27 Thread Crux
just clear your app/tmp/cache folder.always worked for me On Sep 27, 4:12 pm, "3lancer.eu" <[EMAIL PROTECTED]> wrote: > Oh, got it kind of working, the workaround was quite strange however: > > //this must be set on home.pl > if (strpos('example.com', $_SERVER['SERVER_NAME']) !== false) { >  

Re: Poor EmailComponent templating

2008-03-07 Thread Crux
Hi Andrey, Perhaps you should google around a bit. Most examples for EmailComponent I've seen mention how you're supposed to be using templates instead of passing email content through send(). Cheers "бляпиздец ну лошара" On Mar 6, 10:27 pm, Andrey Demenev <[EMAIL PROTECTED]> wrote: > Hi all > >

Re: Loosing HABTM with savefield ?

2008-03-06 Thread Crux
Before you do $data = $this->Article->read('published', $id ); add $this->Article->recursive = 0; Cheers On Mar 3, 2:00 pm, Mech7 <[EMAIL PROTECTED]> wrote: > I have an article and tag model.. when i saved an article with tags it > works fine, but i made a publish / unpublish function l