I took a look at it following the URL you provided. It's exactly what
I'm supposed to build
As I'm not yet pretty familiar with AJAX/JSON Query in Cake, I guess
using the helper provided in Cake will not help too much.
Of course, the cooler, more hip options are to postback after observing a
Finally I got the solution...I had created objects in my related .ctp
file with wrong names instead of table field names...Hope this would
help any neophyte facing same problem...Thanks guys for your
help...Now I think using Cakephp would be more enjoyable with such an
active community :)
On
Finally I got the solution...I had created objects in my related .ctp
file with wrong names instead of table field names...Hope this would
help any neophyte facing same problem...Thanks guys for your
help...Now I think using Cakephp would be more enjoyable with such an
active community :)
On
First of all I want to say that I´m not english.
So please forgive me for my bad english and please use easy to
understand english in your answers.
Thank you!!
I write a programm for doctors.
I´ve got a table called 'clients' which looks like
id:int(11):primary key
salutation_id:tinyint(3)
On Sat, Feb 28, 2009 at 10:49 AM, GetIT david.bruen...@t-online.de wrote:
[..snip..]
But if I save the data only the thing belonging to the client are
saved. The data from the progress is not saved.
Why?
I may be leading you onto the wrong path, but as far as I know you need to
call save()
On Feb 28, 7:49 am, GetIT david.bruen...@t-online.de wrote:
But if I save the data only the thing belonging to the client are
saved. The data from the progress is not saved.
Why?
Are you using 'save' or 'saveAll' to save your data? You should be
using 'saveAll'. Also, I'm assuming you have
On Sat, Feb 28, 2009 at 11:06 AM, Gonzalo Servat gser...@gmail.com wrote:
On Sat, Feb 28, 2009 at 10:49 AM, GetIT david.bruen...@t-online.dewrote:
[..snip..]
But if I save the data only the thing belonging to the client are
saved. The data from the progress is not saved.
Why?
I may be
If it still isn't working after those suggestions, try additionally
changing your Progress form inputs to a format like so: $form-input
('Progress.0.fieldName');
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Yoe´ve been right.
That works.
Thank you very much.
On 28 Feb., 14:06, Gonzalo Servat gser...@gmail.com wrote:
On Sat, Feb 28, 2009 at 10:49 AM, GetIT david.bruen...@t-online.de wrote:
[..snip..]
But if I save the data only the thing belonging to the client are
saved. The data from the
hi to all,
here my question is how can i arrange my checkbox in one row.
thanks,
--~--~-~--~~~---~--~~
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
Hi bakers!
In my application I've got the concept of Spaces which are basically
directories. I also have User and Document models.
Space - HABTM - User (a user may have access to several spaces)
Space - hasMany - Document
Document - HABTM - User (a document can have several owners)
The HABTM
Hello all..
My problem is my site is running on a server resides on different
country..
I used to show the current time on a home page.. but It shows me
server time..which is nearly 12 hours behind my country..
I want to show user a time of a computer he or she uses..
P.S. : I used date()
ok problem resolved thnx for help
On 27 Lut, 17:04, AgBorkowski andrzejborkow...@gmail.com wrote:
generaly i do it somethong like that
require_once '../xhr_controller.php';
class SuggestsController extends XhrController {
public $components = array('Xhr');
public $helpers =
Nr Query Error AffectedNum. rows Took (ms)
1 DESCRIBE `locations`5 5 3
2 DESCRIBE `countries`4 4 4
3 DESCRIBE `cities` 4 4 3
4 DESCRIBE `states` 3 3 3
I had the same issue a week a go, my server is located on GMT -6 and
my country is on GMT -5
The function takes the GMT from Server within the timestamp
/* @param integer $time server timestamp (time()) or whatever
timestamp
* @param integer $userGMT this is the GMT you want convert to
*
This actually might work, thanks to all for your advices, they give
direction =].
Regards from Mexico
On 27 feb, 06:12, Stinkbug justink...@gmail.com wrote:
So let's think about this. Is your client just worried about how the
form looks (3 buttons and 1submitall button)? Technically, if
Lovely... I went to try this out and the warnings have vanished as
mysteriously as they first appeared. I've got this thread bookmarked and
will update again as they come back.
jitka (poLK) wrote:
I've never seen this issue before, and it is hard to reproduce it in
test case if it
Another option would be to use Javascript's time functions.
--~--~-~--~~~---~--~~
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
This is what I'm using:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
$(document).ready(function()
{
$('#foo').autocomplete(
'/my_controller/autocomplete',
{
minChars: 2,
lineSeparator: '^',
You might have to use CSS for that. If there is a div around each
checkbox, just make sure you assign a float to them in css lke this:
In case you just want to target the checkboxes div, wrap a div around
all your checboxes. Give it a class or an id.
Then in css,
#divname input{
float:
In get_structure(), have you tried changing: $this-SpacesUser-find()
to $this-find() ? Then maybe also move the Space.* entries from
'contain' to the 'fields' array.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I have a groups, users and tasks models.
Groups has a HABTM to users.
Users has a HABTM to groups.
Users has many tasks.
From the tasks model, I am trying to find out which group the user
belongs to. Once I have this information, I plan to put into a session
variable so I only need to query
errata i means Nr 5 empty query ?
On 28 Lut, 17:31, andrzejborkow...@gmail.com
andrzejborkow...@gmail.com wrote:
Nr Query Error Affected Num. rows Took (ms)
1 DESCRIBE `locations` 5 5 3
2 DESCRIBE `countries` 4 4
That doesn't help much, I've tried it and it gives errors like this:
Model Space is not associated with model name [CORE/cake/libs/
model/behaviors/containable.php, line 340]
for alle fields that I specified for Space.* in the contain options.
Also, an invalid query is now being created which
I'm using Eclipse with PDT, but Dreamweaver for making layouts.
--~--~-~--~~~---~--~~
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
TextMate.
On Feb 28, 1:14 pm, adam abennett...@sbcglobal.net wrote:
I'm using Eclipse with PDT, but Dreamweaver for making layouts.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this
The problem is solved!
In what it was?
I had a model having the name Query - It is all explains =)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
Hi folks,
I've got the same problem.. It's really strange because all of my code
was working in the last Beta version.
This is my DB table:
CREATE TABLE intracategories (
id SERIAL PRIMARY KEY,
parent_id INT,
lft INT,
rght INT,
name VARCHAR(255),
tags VARCHAR(255),
I just downloaded Netbeans for PHP 6.5 and it's great. I've been
using Eclipse for a long but I think you can enjoy Netbeans (open
source and works in linux, mac, windows).
http://www.netbeans.org/features/php/
--~--~-~--~~~---~--~~
You received this message
Notepad :-)
--~--~-~--~~~---~--~~
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
Alright, in that case, for adding some additional speed, I've just
increased cache time when Debug 1 inside Configure::__loadBooststrap
()
Just increased it to 20 minutes and I think problem is resolved now.
Much better speed now :)
Thanks
On Feb 27, 7:24 pm, Matt Curry m...@mcurry.net wrote:
On Feb 28, 2:07 pm, Dan Soendergaard dan1...@gmail.com wrote:
That doesn't help much, I've tried it and it gives errors like this:
Model Space is not associated with model name [CORE/cake/libs/
model/behaviors/containable.php, line 340]
Strange error. Is this what you tried:
On Feb 28, 1:30 pm, Dhana sldh...@gmail.com wrote:
But, how do I make this query efficiently?
One solution would be to use the Containable behavior with the User
model. Then you can find what groups the user belongs to by doing a
find and including a 'contain' option which is an array
On Sat, Feb 28, 2009 at 3:30 PM, Dhana sldh...@gmail.com wrote:
I have a groups, users and tasks models.
Groups has a HABTM to users.
Users has a HABTM to groups.
Users has many tasks.
From the tasks model, I am trying to find out which group the user
belongs to. Once I have this
On Sat, Feb 28, 2009 at 8:06 PM, Mauricio Morales maomora...@gmail.comwrote:
I just downloaded Netbeans for PHP 6.5 and it's great. I've been
using Eclipse for a long but I think you can enjoy Netbeans (open
source and works in linux, mac, windows).
http://www.netbeans.org/features/php/
No, the function is in my model so calling $this-Space-find();
results in Undefined property: Space::$Space.
The error isn't that strange, it happens because I removed the Space
from the fields so that 'Space.description' became 'description. Cake
thinks that 'name' is a model, which of course
Dreamweaver
--~--~-~--~~~---~--~~
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
When I add the Security component, all my ajax requests fail. They
never finish or return data. I am using jQuery and not the built in
ajax.
What do I have to do to allow this to work? The manual for Security is
a bit vague.
--~--~-~--~~~---~--~~
You received this
Looking at the Security component source, you need to override the
validatePost value in SecurityComponent. The following is untested code,
but I think it should work.
function beforeFilter() {
if ($this-action == 'your_action') {
$this-Security-validatePost = false;
}
On Feb 28, 6:10 pm, Dan Soendergaard dan1...@gmail.com wrote:
No, the function is in my model so calling $this-Space-find();
results in Undefined property: Space::$Space.
Sorry, I had forgotten it was a model function and not in your
controller. It should be $this-find() in the code I posted
On Sat, Feb 28, 2009 at 5:14 PM, adam abennett...@sbcglobal.net wrote:
I'm using Eclipse with PDT, but Dreamweaver for making layouts.
Geany.
...and Vim sometimes.
Atenciosamente.
--
MARCELO DE F. ANDRADE (aka eleKtron)
Belem, PA, Amazonia, Brazil
Linux User #221105
[...@pará ~]# links
two questions--
the default class returned from error() within the html helper is
error-message. how do i override this in my controller?
more importantly, how can i inject some html content inside the error div
after a failed form validation?
right now its:
div class=error-messageerror
On Feb 28, 6:05 pm, RyOnLife ryan.mckil...@gmail.com wrote:
Lovely... I went to try this out and the warnings have vanished as
mysteriously as they first appeared. I've got this thread bookmarked and
will update again as they come back.
Ok.
If anyone will see this issue again, join us in
TimeHelper methods can use $userOffset.
Another option (not proper/smart in your case, because it would affect
time/date php functions globally, therefore also created/modified
stored in db) would be date_default_timezone_set() for php = 5.2 or
date.timezone in php.ini
I switched from Eclipse 3.4 and PDT2 to Netbeans 6.5 this week as well.
--~--~-~--~~~---~--~~
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
Hello,
I need to do some additional row level ACL access control for two of
my models.
My system has the following groups: admins, editors, authors and
users.
I'm restricting access to my controller actions using the Auth
component, via $this-Auth-authorize = 'actions'.
At the moment, my
I switched to Eclipse from Netbeans 6.5 because Netbeans does not handle
well accents in Fedora 10.
If I could solve this only issue, I would back to Netbeans immediately.
2009/2/28 jitka (poLK) slunii...@gmail.com
I switched from Eclipse 3.4 and PDT2 to Netbeans 6.5 this week as well.
I used to set label=false and add the label with after='text'.
Just another way :)
2009/3/1 Dhana sldh...@gmail.com:
You might have to use CSS for that. If there is a div around each
checkbox, just make sure you assign a float to them in css lke this:
In case you just want to target the
48 matches
Mail list logo