I just saw my own mistake, ofc it goes without echo and php tags :) just $this->render();
sent from my Samsung Galaxy S
Ivan Rimac
mail: ivnrmc@gmail.com
mob: +385 95 555 9966
Dana 1.10.2012. 10:41 "Ivan Rimac" <ivnrmc@gmail.com> je napisao/la:
-- didnt try but it should work from controllers like this <?php echo $this->render('../elements/videos/videos_ads1', array('full' => true)) ?>
2012/10/1 Chris <chris69m@yahoo.com>hi Ivan,...I need to render it from another directories,... like videos, groups,.... etc,...will this work... ?? or should I put videos_ad1 content into elements view... ??<?php echo $this->render('elements/videos/videos_ads1', array('full' => true)) ?>
On Monday, October 1, 2012 1:00:30 AM UTC-7, ivnrmc wrote:
// Render the element in /views/elements/ajaxreturn.ctp
$this->render('/elements/ajaxreturn');
2012/10/1 Chris <chri...@yahoo.com>hi guys,...I had renderElement in 1.2 pre-Beta version,... now moving script to 1.3 and it seems to me that it's not supported in 1.3in a vew I have:<?php echo $this->renderElement('../videos/videos_ads1', array('full' => true)) ?>which was bringing up the page from ../views/video/video_ads1.ctphow can I do this in 1.3 ...?thanksTo post to this group, send email to cake...@googlegroups.com.Chris--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.--Ivan Rimacmail: ivn...@gmail.com--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
--Ivan Rimacmail: ivnrmc@gmail.comtel: +385 95 555 99 66
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment