Hi,

I have the following scenario:

Within my default.ctp I have the <?php echo $content_for_layout; ?>
and a bunch of links.
If the user clicks on one of the links, I would like to use ajax to
fill the $content_for_layout; with the content of my other content ctp
files.

For example, I have a contact.ctp.
If I am now in my index page and the user clicks on 'contact' I would
like to load the contact.ctp into the $content_for_layout;

Is something like this possible? WIthout page refresh? I want to use
ajax for it? How can I do this?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to