Weird IE 6 problem -page jumping

2009-03-15 Thread ymadh
I have disabled all my css and tested this, so nothing weird there! Basically I have a show ajax link and a hide link. The show link populates a div block and the hide simply hides it. when I click hide the page jumps down about 4 inches in IE 6. Here is some code echo $ajax->link('View Dogs'

merging two data sets

2009-02-22 Thread ymadh
I am building a calendar which will show items from multiple tables. For example i Have this event1: 2/2/09 1pm event2: 2/3/09 2pm class1: 2/4/09 3pm class2: 2/9/09 5pm I am using the find all method and it returns this type of array array(1) { [0]=> array(1) { ["Events"]=> array(4)

Re: storing user_ids

2009-01-03 Thread ymadh
Each record of the associated tables. So if a client is created under a logged in user, I want it to autopopulate the db with user_id which is in the session. That way each user only sees their clients..make sense? My client table would have client info, and of course a user_id field. I didn't l

storing user_ids

2009-01-03 Thread ymadh
I want to have the logged in user information stored with each record. Is there a way to set this on the controller or do I have to rely on hidden fields in the views? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

show / hide with ajax

2008-12-30 Thread ymadh
I am hoping someone can give me some ideas on the best way to set this up. I have a set of data that lists out client information row by row. When a user clicks on the row, I want it to show a set of information about that client (already have this part working with ajax). I am not sure the best

Re: form->create duplicating my controller name

2008-12-29 Thread ymadh
I was using the wrong URL /index.php/Clients vs /Clients thanks for your help. On Dec 29, 2:49 pm, ymadh wrote: > I appreciate your  reply. > > Unfortunately that didn't do it. It still creates > from my $form->create call --~--~-~--~~~---~-

Re: form->create duplicating my controller name

2008-12-29 Thread ymadh
I appreciate your reply. Unfortunately that didn't do it. It still creates from my $form->create call --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@g

form->create duplicating my controller name

2008-12-29 Thread ymadh
create('Client',array('action'=>'add')); echo $form->input('firstname'); echo $form->input('lastname'); echo $form->end('Save Client'); ?> I have a simple controller / model / table for adding clients. My model is called clients.php, my controller is clients_controller.ph