Skip to content

Instantly share code, notes, and snippets.

@victorferraz
Created May 2, 2012 01:11
Show Gist options
  • Save victorferraz/2572806 to your computer and use it in GitHub Desktop.
Save victorferraz/2572806 to your computer and use it in GitHub Desktop.
Sidebar Tutorial
$autoload['libraries'] = array(`sidebar');
<?php
foreach($this->sidebar->posts() as $valor):
?>
<li> <?php echo $valor->titulo; ?></li>
<?php endforeach; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment