G
G
goldwizard132017-03-14 19:24:53
Yii
goldwizard13, 2017-03-14 19:24:53

How to create one html page in yii1?

Tell me how to create one html page in yii1, you need to create one FAQ page at the site / faq link, the search does not help, maybe I'm looking for it wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Bay, 2017-03-14
@goldwizard13

looking badly.
in controller -
public function actionFaq(){
echo $this->render('faq'); // don't remember how output is rendered in yii1
}
then create the
views/site/faq.php file
and fill the page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question