S
S
Sergey2016-02-15 11:21:59
Yii
Sergey, 2016-02-15 11:21:59

How to add a footer to a template?

I want to create footer and header templates to include in main.php. Is it possible to include them other than via require ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2016-02-15
@bitver

In main.php, if there is footer.php next to it , it will display
the contents of footer.php, if it is necessary to pass parameters - the same as always.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question