On Jan 13, 2011, at 20:33, OldWest wrote: > Not a redirect. I am using an Ajax call to render the page data within > another page. So I want an http:// url to display in the layout like: > > $this->render('/plan_details/display_application_url'); // This works fine > for accessing controller actions and outputting data. But I need to call in > an external page into the same type of .ctp file. Does this make sense?
I'm still unclear what you're trying to do. Is it that you want to display the content of an external web page inside your own web page, in addition to other content of your own? One way to do that would be to include an iframe in your template file, pointing to the URL of that external site. Or, you could fetch the contents of that external site into a variable in your controller and pass it to your view, which would echo it out at the right place. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en