I have installed CMS for page
and to view CMS page i have done url rewrite like
'site/<name>-<id:\d+>.html'=>'cms/page/view',
I have created one CMS page Contact_form-1.html
now I want to include this CMS page in one my view file contact.php
so how can i add content of CMS page in contact.php
I have used nord CMS…
I have tried this
$this->renderPartial(‘application.modules.cms.views.page.view’,array(‘id’=>‘3’));
this include content without running controller …
so i want something that will run PageController and renderPartial page/view file…
how to do that ??
Also how can i set layouts for CMS module as i have different layouts .
Need to add code in application Controller --not in modules’controller