Re: Cake php ajax pagination

2008-07-14 Thread Chris Hartjes

On Mon, Jul 14, 2008 at 3:16 PM, puneetratan [EMAIL PROTECTED] wrote:

 Hello Group,
 I am doing ajax pagination in cake php. but i also have some search
 criterias which  i need on second or third pages also, so that
 condition retains.

 right now i am using cake session (storing the condition into session)
 is there any other way to store condition, so that we can get on
 second page.
 Plz let me know

http://book.cakephp.org/view/164/pagination

-- 
Chris Hartjes
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

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



Re: Cake Php + AJAX

2007-03-09 Thread Dr. Tarique Sani

On 3/9/07, shafi [EMAIL PROTECTED] wrote:

 How to implement AJAX in Cake Php


http://www.google.com/search?q=cakephp+ajax

HTH
Tarique

-- 
=
PHP for E-Biz: http://sanisoft.com
Cheesecake-Photoblog: http://cheesecake-photoblog.org
=

--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



RE: Cake Php + AJAX

2007-03-09 Thread Mariano Iglesias

I'll answer if you answer me this question:

How to drive a car?

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de shafi
Enviado el: Viernes, 09 de Marzo de 2007 08:49 a.m.
Para: Cake PHP
Asunto: Cake Php + AJAX

How to implement AJAX in Cake Php


--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



Re: Cake Php + AJAX

2007-03-09 Thread Kjell Bublitz

well, first of all you can call prepend an /ajax/ to any URL in cake,
which makes your pages uses the ajax-layout (layouts folder) instead
of the default. Other way around is, that you force the ajax-layout in
your controller action like so: var $layout = 'ajax';

Both works and depends on what you want to do with that method besides
calling it with ajax. i found the /ajax/ thing to be more flexible.

Lets say you have a page where you list your users and you would like
to be able to update that list with ajax. For that, you should create
a method in you users controller and name it something like
userlist.

In another view you can then use the ajax helper to create a ajax link
to that new action, which you could called like so:
/ajax/users/userlist/ (refer to the manual, helper section)

Here is some example code you could basicly place anywhere in your
views.. index maybe.

div id=userlist/div
?php echo $ajax-link('Get Userlist', '/ajax/users/userlist/',
array('update' = 'userlist')); ?

Hope this helps

On 3/9/07, shafi [EMAIL PROTECTED] wrote:

 How to implement AJAX in Cake Php


 



-- 
Regards, Kjell
www.m3nt0r.de

--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



Re: Cake Php + AJAX

2007-03-09 Thread Chris Hartjes

On 3/9/07, Mariano Iglesias [EMAIL PROTECTED] wrote:

 I'll answer if you answer me this question:

 How to drive a car?

 -MI


C'mon now Mariano, you know I'm the one who is supposed to giving out
the rude answers...


-- 
Chris Hartjes

My motto for 2007:  Just build it, damnit!

rallyhat.com - digital photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---



RE: Cake Php + AJAX

2007-03-09 Thread Mariano Iglesias

I know I know, was just too damn tired to be nice :)

Sorry shafi for the snap

-MI

---

Remember, smart coders answer ten questions for every question they ask. 
So be smart, be cool, and share your knowledge. 

BAKE ON!

blog: http://www.MarianoIglesias.com.ar


-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de Chris Hartjes
Enviado el: Viernes, 09 de Marzo de 2007 09:48 a.m.
Para: cake-php@googlegroups.com
Asunto: Re: Cake Php + AJAX

C'mon now Mariano, you know I'm the one who is supposed to giving out
the rude answers...


--~--~-~--~~~---~--~~
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?hl=en
-~--~~~~--~~--~--~---