Monday, October 26, 2009

Re: CakePHP :: IFrame

i think that's bcuz you dont use the html helper. you should use html
helper url helper instead of just calling the url in plain way.
<iframe scr="<?php echo $html->url('/the address as u wish');?>">
it works on me, but i use url inside my site, so i have to put my file
in webroot directory (where the css directory is located).
wish that help ya.

but by the way, why u want to use iframe? isn't cake enough for u?

On Sep 29, 8:07 pm, Shouvik Chatterjee <cance...@gmail.com> wrote:
> HI
>
> I am using cakephp for my website and trying to implement an IFRAME
> into my website, the IFRAME have the following styntax
>
> <iframe src="http://yahoo.com" width="750" height="500"></iframe>
>
> But for some reason, instead of displaying the yahoo website, it
> displays me my own website.
>
> Can someone pls tell me a solution to this.
>
> Thanks in advance :)

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate