I'm trying to make my own theme for Bludit and I've done the tutorial. I understand the basics of theming now but I struggle to get the specific URL for the sites/articles.
I now have:
Code: Select all
<?php if ($WHERE_AM_I=='page'): ?>
<p>The user is watching a particular page</p>
<?php elseif ($WHERE_AM_I=='home'): ?>
<?php foreach ($content as $page): ?>
<h3><?php echo $page->title(); ?></h3>
<?php endforeach ?>
<?php endif ?>
Thanks in advance.
Kind regards,
andrklein