[Solar-talk] Starting with Solar 0.20
Paul M Jones
pmjones at solarphp.com
Wed Jun 28 13:37:51 PDT 2006
On Jun 28, 2006, at 3:30 PM, Stuardo -StR- Rodríguez wrote:
> On Wednesday 28 June 2006 15:18, Paul M Jones wrote:
>> As a short-term fix, in Solar/Controller/Page.php, the
>> _layoutInstance
>> () method, at line 459, change from this ...
> it was in my line 427..... is mine not updated? v0.20?
Fair enough, I probably got the line number wrong.
The reason you see the $user error is that the standard
Solar_App_Layout expects one (for the logged in user). This sucks; I
*so* need to do better than this for new users. Very sorry man.
Tell you what: revert that change to Solar_Controller_Page.
Instead, edit your DevelSystems_App_Planet class and add:
protected $_layout = null;
That'll skip the layout entirely. Will write more later on layouts.
Again, my apologies for the poor first-time experience.
--
Paul M. Jones <http://paul-m-jones.com>
Solar: Simple Object Library and Application Repository
for PHP5. <http://solarphp.com>
Savant: The simple, elegant, and powerful solution for
templates in PHP. <http://phpsavant.com>
More information about the solar-talk
mailing list