Within the current file default structure that apps generated by yii inherit:
commands,
components,
config…
models
views
site
etc…
Where can i put static pages, or how do i create static pages that, when rendered, will not have a header, footer, menus… I want to create help files, containing only text, that will be displayed using fancybox. I do not want the help pages to have the same look and feel as the app. Only a white background with the text. Any direction?
On example below when user click on an ajax link, it will show the help page without layout, but when user open the link directly without ajax (opened on other tab), the help page will be displayed with a standard layout.
public function actionHelp() {
if (Yii::app()->request->isAjaxRequest) {
$this->renderPartial('help');
}
else {
$this->render('help');
}
}