Hi, I'm a totally new user of ProcessWire and i need some help with bootsrap framework
i wan to create a bootsrap tab that dynamicaly gets page-> children titles and bodys to bootsrap tab
i have this but it is not working can anyone help me. thanks
<ul class="nav nav-tabs" id="myTab">
<?php foreach ($page->children as $item){
echo "<li> <a href='{$item->name}'> {$item->title} </a></li>";
}?>
</ul>
<div class="tab-content">
<?php foreach ($page->children as $item){
echo "<div class='tab-pane' id='{$item->name}'>{$item->body}</div>";
}?>
</div>