I’ve got unusual simple requirement. I need to send content two 2 different view pages from my controller…
and I have a link which is pop up in this index.page. when user clicks this link in index.php… I need to show some content from themes/classic/views/layouts/main.php in a pop up.
so Now, I need to get the content into this main.php file. how can i send this content from the controller to main.php??
for themes/classic/views/site/index.php view i’m rendering index.php from siteController.php like this
$this->render('index',array( 'item'=>$item, 'term'=>$term, ));
so for main.php page… do i need to render the main.php as well??
how can i get the data from the table to this main.php.