A
A
Artem Andreev2019-06-04 11:40:34
Yii
Artem Andreev, 2019-06-04 11:40:34

How to pick up page names in the admin panel and display them in html on the page by url?

How to pick up page names in the admin panel and display them in html on the page?
Let's define a page by url?
And display the name of the current page in h1 is acceptable.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Gorelov, 2019-06-04
@Kirill-Gorelov

As I understand you do in YII. This is a framework. So in the controller you write title into it, stuff your value into it and display it in the template.
In principle, this is done in most mvc frameworks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question