PHP code in Pages and Blocks stored in Fuel
I notice that when I paste in PHP code inside the editor in fuel, it formats it differently, so it gives the appearance that it is making it compatible with the editor, but I notice my page breaking when I do this. Is there a way to allow PHP code to be inserted in the body of pages and blocks that are stored in the DB?
Thanks,
Erik
Comments
<?php if($this->uri->segment(1)): ?>
.. some code here ...
<?php endif; ?>
http://www.getfuelcms.com/user_guide/modules/simple
More on Dwoo.
http://www.getfuelcms.com/user_guide/parsing
http://wiki.dwoo.org/index.php/Main_Page