I tried to set homepage as another controller than indexController by adding this line in application.ini
resources.frontController.defaultControllerName="site"
I don’t see any changes, index controller load again, how do i change this pls help.
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.
if you do not have modular structure then setting folowing to application.ini should work
If you have modular structure then add following
I always add such settings under [production] of my application.ini because these settings are same for other staging, dev, testing environments, i inherit production settings like this
Make sure you create the controller and action as you mention in application.ini in right form. Also make sure that you are not doing any forwards which is surpassing the settings of application.ini
hope this helps