[Solar-talk] Seperating logic and layout in layouts

Richard Thomas lists at cyberlot.net
Wed May 7 18:11:06 CDT 2008


Ok, I was going a

<?php if(this) { ?>
login box
<? } else { ?>
There info
<? } ?>

I am trying to be a good boy and seperate form and logic..

Now I have a <?php echo $this->login_box; ?>

And in my controller I have a $this->login_box = $this->fetch('logged_out')

No errors, web server segment faults on me...

Any ideas..


More information about the Solar-talk mailing list