How can I create a single static page in Yii that only logged in users can view?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is good documentation on how to enable Yii’s access control filter for a controller action on the guide. You will have to make a controller action that displays a static view, and limit access to that action based on the tutorial.