[Solar-talk] layout path stack

Jeff Surgeson solar at 3hex.com
Mon Oct 1 15:02:19 CDT 2007


Hi All

If this has been asked and answered or if Paul has already mentioned this then 
sorry! but as usual I have missed the boat :-(

With the svn orm branch, Solar_Controller_Page by default now only searches 
for layouts in Vendor_App_CurrentClass_Layout and Vendor_App_Base_Layout and 
no longer falls back on Solar_App_Base_Layout as it did before.

My Vendor_App_Class extends from Vendor_App_Base which extends 
Solar_Controller_page.

Is there a reason for this or am I missing something? do I need to add 
Solar_App_Base_Layout to the stack? Looking at Solar_App's as well as some of 
Rodrigos app's it would seem not, however Rodrigo does not use Solar Layouts 
only his own. I tend to use Solar's _head and some of the other layout 
template's so it was nice that I did not have to duplicate existing Solar 
templates only the ones I needed to change.

Is this a bad thing, should I only be using my own templates, if so why?

-- 
...........::::::...........
Jeff Surgeson / South Africa


More information about the Solar-talk mailing list