Re: all fields valid but cannot save

2008-02-21 Thread Károly Kiripolszky
I think in cases like this an optional numeric field containing an empty string should be marked as an invalid field so it would be easier to debug, or it should be typecasted or omitted... --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: all fields valid but cannot save

2008-02-21 Thread Károly Kiripolszky
7;number']); And so the empty string becomes NULL in the SQL statement. On febr. 20, 16:06, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Feb 20, 2008 9:31 AM, Károly Kiripolszky > > <[EMAIL PROTECTED]> wrote: > > > Dear Cake People, > > > I canno

embeded swf movie loads xml

2007-02-20 Thread Károly Kiripolszky
helo! i noticed an annoying thing while working on a layout with embeded flash menu. we use an external xml file to specify menu labels and links, so when the client want's to change sg, we don't have to bother with recompiling the swf. the site however is multilingual, so menu files (which are r

Re: Passing functions to views

2007-02-08 Thread Károly Kiripolszky
Mostly because I don't know how to use the HtmlHelper in the controller... :P --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsub

Re: Passing functions to views

2007-02-08 Thread Károly Kiripolszky
Writing a function in an existing file instead of creating another source file (and also a class) is more simple for me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send

Passing functions to views

2007-02-08 Thread Károly Kiripolszky
Hi ppl! I discovered that it is possible to pass functions defined in the controller to the view. However I must prefix the $this->set() statement with an @ symbol or else PHP claims that there's and undefined constant in the view at the line you try to call it. For example I define my title form

Re: lost view variables?

2007-02-07 Thread Károly Kiripolszky
found the bug, sorry for spamming! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAI

lost view variables?

2007-02-07 Thread Károly Kiripolszky
Helo bakers! I'm doing a multilingual site for which I'm utilising AD7six's Locale component (snippets) and it's really great. My way of redirecting to specific language pages is the following: In the AppController: --- function beforeFilter() { // default langua