Answer the question
In order to leave comments, you need to log in
How to make a page like site.ru/page#key?
The page is created through:
It is necessary to add an anchor of the form site.ru/page #key to the end of the link
How to add #key to the page rendering? I did not find
the answer in the documentation .return $this->render('page']);
Answer the question
In order to leave comments, you need to log in
This is set in the url of the page, and what does rendering have to do with it?
You form the link correctly, and provided that there is an anchor in the template, everything will work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question