Wednesday, December 3, 2008

Re: How to open a popup window without default layout..??

You can also use AJAX
Instead of a blank layout, make sure there is an ajax.ctp with only
echo $content_for_layout.
Create an ajax link, to the controller/blank view file.

On Dec 3, 7:48 am, Donkeybob <rip...@gmail.com> wrote:
> for the link, create a blank layout file in the layout directory.
>
> set this in the action:
> $this->layout = 'blank';
>
> easy as pie . . .read more about it here:http://book.cakephp.org/view/96/Layouts
>
> On Dec 3, 2:16 am, "Aneesh S" <aneeshs.em...@gmail.com> wrote:
>
> > Hi,
>
> >    Need help here. How can i open a popup window without the default layout.
> > ie i need a blank popup window to open when clicked on a link.
> > Can anyone help me with this.
>
> > Thanx in advance..................
>
> > Aneesh S
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: