[eluser]eggzy[/eluser]
I'm having problems with this library working with phil's template library.
I have front_controller which loads layout:
Code:
$this->template
->set_theme('default')
->set_layout('default.html');
and I have modules and in every module view is passed like this:
Code:
$this->template
->title('Posts')
->build('posts', $data);
and view:
Code:
<?php foreach ($query as $row): ?>
<h2><?php echo $row['title']; ?></h2>
<?php echo $row['content']; ?>
<?php endforeach; ?>
When I upload MY_Parser.php everything breaks but when I remove it posts are shown normally.
I'd like in front layout to use smarty tags like {body} or similar to show modules.