I just started using Phalcon, and I love it! Great work.
Anyhow. My website has a section for users who are not logged in (landing page, registration, info pages, etc) and then the section for those who are logged in. Typically once I user has signed up, there will be no need to browse those pages anymore. For this reason, I want the main template to be that which will be used on all of the logged in pages. This means I need to swap out the main template on the few pages that do not require log in.
- Phalcon by default uses views/index.php as the main template. Is there some why I can make it utilize views/outside.php in very specific scenarios?
I'm not seeing a method of doing this and controller-specific layouts sound inappropriate as the unautheticated section of the site may have a random number of controllers. The authenticated portion of the website and the authenticated portion are essentially different websites.
Thanks