Re: How to define a checkbox variable in Cakephp

2013-03-06 Thread euromark
You already got your answer at SO. Am Mittwoch, 6. März 2013 08:50:35 UTC+1 schrieb Victor Musvibe: I have a form in my Plugin elements and what i would like to insert the checkbox value into a table named it_queries and field status_type and its giving me an error Undefined variable:

Re: How to define a checkbox variable in Cakephp

2013-03-06 Thread Victor Musvibe
Thanks euromark. I am on it On Wed, Mar 6, 2013 at 10:34 AM, euromark dereurom...@gmail.com wrote: You already got your answer at SO. Am Mittwoch, 6. März 2013 08:50:35 UTC+1 schrieb Victor Musvibe: I have a form in my Plugin elements and what i would like to insert the checkbox value into

Re: Cake 2.1 admin layout is not working

2013-03-06 Thread di
Hi majna, I will follow your suggestion. Thanks On Sunday, March 3, 2013 10:27:24 PM UTC+2, majna wrote: Hi, here's my suggestions, - change admin route to Router::connect(‘/admin’, array(‘controller’ = ‘users’, ‘action’ = ‘index’, ‘admin’ = true)); - replace your beforeRender() callback

debug disabled in Custom Authentication object?

2013-03-06 Thread designv...@gmail.com
Hi there, I'm trying to write my own authentication Custom Authentication object and doing the usual thing of debugging everywhere to check stuff and I have noticed that debug seems to be suppressed even tho it's set to 2 in the core? I have a results array that I can echo out serialized but

Re: Setting the Value of Options in a drop down...

2013-03-06 Thread April DeRossett
Thanks! ...Unfortunately, sometimes you inherit a database schema and just have to make do with what you have. I have, however, located a solution in case anyone else comes across this issue: echo $this-Form-input('Sold', array('options' = array(*'SOLD'='Sold'*),'empty' =

Re: Date picker for CakePHP 2.0.3

2013-03-06 Thread April DeRossett
@Florin Trifu Thanks for the instruction...Works perfectly! @Yen Hua Chuah You can set the date format here: script $(function() { $(#datepicker).datepicker({ dateFormat: yy-mm-dd }); }); /script Check out the API documentation...It is pretty nice.

Saving AJAX Checkboxes

2013-03-06 Thread Jerome Walitzek
Hi there, i have following tables Events Cities Locations EventLocations When i edit an Event i can select the city (city_id) where the event is. But every City has more than one location which i get over AJAX. That works Great. But now i want to store the locations which i have checkboxed into

Multirow form - add inputs with JS, but only the first ones gets submitted ...

2013-03-06 Thread petar . kadakevliev
I'm doing a CakePHP site, I have a form there, and the user should be able to add multirow inputs dynamically, with JavaScript. Let me simplify it: I generate the first input with this code: echo $this-Form-input('Student.0.name'); So, when the user click on add more inputs - then I inject

about float numbers

2013-03-06 Thread kishore reddy
What I did my form having some of input boxes.one of them is about salary .iam entered salary as 111 and submitted form What happened in the database the salary stored as 1.1e+006 What I expected to happen how can i store salary as 111 and my input box code is ?php echo

Help With Classes and Objects

2013-03-06 Thread Karl Smith
I am currently taking on a medium sized application and I need a few pointers as far as the design process goes. The project I am working on is going to be a new version of a website written with the ASP.NET 1.1 framework. The application I am working with is very straightforward ,but I want

missing controller exception

2013-03-06 Thread Devario Johnson
Hi all, Im trying to debug this error. when I look at the cakelogs I get this [MissingControllerException] Controller class Controller could not be found. where should I look to begin debugging this? I googled around and everyone with a similar issue was referencing an actual controller

Re: missing controller exception

2013-03-06 Thread Devario Johnson
FYI, it was saying this was coming from webroot/index.php...but the site itself works fine. On Wednesday, March 6, 2013 12:56:58 PM UTC-5, Devario Johnson wrote: Hi all, Im trying to debug this error. when I look at the cakelogs I get this [MissingControllerException] Controller class

Re: Authentication issue

2013-03-06 Thread David Camerotto
Thanks, that worked, much appreciated On Tuesday, 5 March 2013 11:29:02 UTC+10:30, David Camerotto wrote: My apologies in advance, i am still relatively new to CakePHP. I took over a site a number on months ago and have slowly worked out how thing operate.

Re: about float numbers

2013-03-06 Thread euromark
See the answer you already got here https://cakephp.lighthouseapp.com/projects/42648/tickets/3676 The answer still is the same: You got no problem, since `1.1e+006 === 111` (note the identical here) You should also ask yourself if float makes sense here. seems like you are only