bhammeraz
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by bhammeraz
-
-
I'm trying to convert a site to this CMS system. The site uses a Sidebar Navigation menu that is the same on all pages. I have it running on the Parent page, but it won't show up on any children.
Here is the code that is on my Parent page.
<div id="sidebar">
<?php
echo "<ul id='subnav' class='nav'>";
foreach($page->children as $child)
echo "<li><a href='{$child->url}'>{$child->title}</a></li>";
?>
</div>
Thank you!
Sidebar Navigation
in API & Templates
Posted
Adam,
I just tested it and it works. Thank you ;D!
-Ben