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: [email protected] mob: +385 95 555 9966 Dana 1.10.2012. 10:41 "Ivan Rimac" <[email protected]> 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 <[email protected]> > >> 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: >> >>> >>> 1. // Render the element in /views/elements/ajaxreturn.ctp >>> 2. $this->render('/elements/**ajaxreturn'); >>> >>> >>> 2012/10/1 Chris <[email protected]> >>> >>>> 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.3 >>>> >>>> in 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.ctp >>>> >>>> how can I do this in 1.3 ...? >>>> >>>> thanks >>>> Chris >>>> >>>> -- >>>> Like Us on FacekBook >>>> https://www.facebook.com/**CakePHP<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 [email protected]. >>>> To unsubscribe from this group, send email to cake-php+u...@** >>>> googlegroups.com. >>>> >>>> Visit this group at >>>> http://groups.google.com/**group/cake-php?hl=en<http://groups.google.com/group/cake-php?hl=en> >>>> . >>>> >>>> >>>> >>> >>> >>> >>> -- >>> *Ivan Rimac*** >>> mail: [email protected] >>> *tel: +385 95 555 99 66* >>> *http://ivanrimac.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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> Visit this group at http://groups.google.com/group/cake-php?hl=en. >> >> >> > > > > -- > *Ivan Rimac*** > mail: [email protected] > *tel: +385 95 555 99 66* > *http://ivanrimac.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 [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en.
