Thanks, I quiet feel stupid this doesn't came up to my mind before. But is there any other way? Since with this I wouldn't be able to access sub sites generated by cakePHP just with parent window's URL, without some JS magic, right?
On 23 říj, 04:13, Jon Bennett <jmbenn...@gmail.com> wrote: > use an iframe. > > j > > On 22 October 2011 18:34, Roman Zawada <zwa...@gmail.com> wrote: > > > > > > > > > > > Hi guys, > > I've voluntiered on creating some db app, and I told those guys that > > it will be very easy, since I wanted to use CakePHP. Sadly after some > > time they told me they want it inside their already existing web, > > which is ancient highly changed PHPNuke. > > So what I want is to generate just content of one <div> inside already > > existing page with CakePHP. I looked up the internets, but or I don't > > how form proper search query or nothing is out there. I'm rather user > > of the framework, not developer, so I don't know much about the > > backend and how MVC frameworks are working inside (and this is my > > first try with CakePHP, since I'm Rails guy). > > What I did so far is disabling mod_rewrite for Cake, inside PHPNuke > > module included cakes index.php and rendering views with empty layout. > > This somehow works, but the thing is how to form urls. I got it > > working by now with > > {{{ > >http://localhost/modules.php/posts?op=modload&name=xxxxx&file=index&d... > > }}} > > but with this all links to css and images on phpnuke site are broken. > > > Is there any way to use something like > > {{{ > >http://localhost/modules.php?op=modload&name=xxxxx&file=index&do=xxxx... > > }}} > > or any other way that could do the job. > > > Thank you very much > > > -- > > Our newest site for the community: CakePHP Video > > Tutorialshttp://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php > > -- > jon bennett -www.jben.net- blog.jben.net -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php