[Solar-talk] layout generator
Jeff Surgeson
solar at 3hex.com
Thu Aug 3 01:51:33 PDT 2006
Hi Rodrigo
> On 8/2/06, Jeff Surgeson wrote:
> > Am I missing something? I see it sets the headers to load the non
> > existant $this->layout_style = array('/onetruelayout/css',
> > '/onetruelayout/css2'); stylesheets.
> >
> > Should I have created these stylesheets first?
>
> Ok, it was a crazy idea, but it was fun to see Solar generating CSS. ;-)
>
> So I've updated the OneTrueLayout app to include the CSS rules in the
> page head, for demonstration purposes. And added links to the 5
> pre-made layouts in the page header. Hope now it will be easier to see
> it working.
Sorry now I cant get it to work at all, see my error below.
Fatal error: Uncaught exception 'Solar_View_Exception_TemplateNotFound'
class::code 'Solar_View::ERR_TEMPLATE_NOT_FOUND' with
message 'ERR_TEMPLATE_NOT_FOUND' information array ( 'name'
=> '_one_true_css.php', 'path' => array ( 0
=> 'Solar/App/OneTrueLayout/Layout/', 1 => 'Solar/App/Layout/', ), ) Stack
trace: #0 /var/www/localhost/htdocs/library/Solar.php(937):
Solar::factory('Solar_View_Exce...', Array)
#1 /var/www/localhost/htdocs/library/Solar/Base.php(184):
Solar::exception('Solar_View', 'ERR_TEMPLATE_NO...', 'ERR_TEMPLATE_NO...',
Array) #2 /var/www/localhost/htdocs/library/Solar/View.php(507):
Solar_Base->_exception('ERR_TEMPLATE_NO...', Array)
#3 /var/www/localhost/htdocs/library/Solar/App/OneTrueLayout/Layout/one_true_layout.php(10):
Solar_View->template('_one_true_css.p...')
#4 /var/www/localhost/htdocs/library/Solar/View.php(486):
require('/var/www/localh...')
#5 /var/www/localhost/htdocs/library/Solar/Controller/Page.php(348):
Solar_View->fetch('one_true_layout...') #6 /var/www
in /var/www/localhost/htdocs/library/Solar.php on line 504
--
Jeff Surgeson
More information about the solar-talk
mailing list