Re: edit fields similar to del.icio.us with ajax?

2006-09-30 Thread ncy111

hi m3nt0r

thank you so much for your help and input.
i took your suggestions to heart, and things are working
quite fine now.

thanks,
nathan


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



edit fields similar to del.icio.us with ajax?

2006-09-30 Thread ncy111

hi

i'm trying to a produce an ajax->link() so that when a user clicks on
it, a  in a  appears similar to what you see when you
click  on 'edit' at http://del.icio.us. the  appears just fine
when it's NOT in a , but all i get is blank space when i do put
the form in a .

btw, this form should appear as an item of a  (also similar to
del.icio.us). can anyone help? any suggestions would be greatly
appreciated.

thanks,
nathan


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: routing and passing a parameter to an action

2006-09-09 Thread ncy111

thanks!


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: Pagination of another's model controller

2006-09-09 Thread ncy111

i'm trying to do same thing...but i don't quite understand what you
mean by:

1) You could put $uses = array("Session","Comment"); and just pass
(array("Comment.Session_id"=>$currentSession["id"]),array('modelClass'=>"Comment"));


could you perhaps clarify?


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



routing and passing a parameter to an action

2006-09-09 Thread ncy111

hi

i have a routing problem that doesn't seem to be solvable.

so basically i want to pass a part of a URL as a parameter to an action
(that is also in the url). for example, say i have a URL
/group//add. i want  to be passed to the action
'add'.

some background:

i have a groups_controller and a favorites_controller. the
favorites_controller has an 'add' action that takes a 
parameter.

here's what i've tried:

$Route->connect('/group/*/favorites/add',
array('controller'=>'favorites', 'action'=>'add'));
$Route->connect('/group/:name/favorites/add',
array('controller'=>'favorites', 'action'=>'add'));

the above, and variations of the above don't seem to work for me. the
following does work:

$Route->connect('/group/favorites/add/*',
array('controller'=>'favorites', 'action'=>'add'));

however, this is really kind of messy...can anyone help?

thanks,
nathan


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---