Friday, April 27, 2012

Re: How to call element to element

In main view, call:

$this->element('first_element');

In 'first_element' call:

$this->element('second_element');

Hope this helps


On Thursday, April 26, 2012 8:26:48 AM UTC-4, nikunj kansara wrote:
Hello,

I want to call one elements to another elements

example : I have view/elements/view.ctp

i want to call another element from view.ctp

How can i do that?

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: