I am using Fabrik 3.2.2.
I have a form with multiple groups.
I want to create a navigation list for the groups in the sidebar.
Currently I modified the default.php in default bootstrap template available for the forms.
I added this
<div id="rightbar" class="span3" style="well">
Custom Sidebar for groups
<div class = "well _menu">
<ul class="nav menu">
<?php
foreach ($this->groups as $group) :
$this->group = $group;
?>
<li><a href="#group<?php echo $group->id;?>"><?php echo $group->title;?></a></li>
<?php
endforeach;
?>
</ul>
</div>
</div>
</div>
I was able to get the group titles in the sidebar.
Now I only need to add the links.
I want the same functionality as for the Prev & Next buttons.
Please let me know how can I proceed
I have a form with multiple groups.
I want to create a navigation list for the groups in the sidebar.
Currently I modified the default.php in default bootstrap template available for the forms.
I added this
<div id="rightbar" class="span3" style="well">
Custom Sidebar for groups
<div class = "well _menu">
<ul class="nav menu">
<?php
foreach ($this->groups as $group) :
$this->group = $group;
?>
<li><a href="#group<?php echo $group->id;?>"><?php echo $group->title;?></a></li>
<?php
endforeach;
?>
</ul>
</div>
</div>
</div>
I was able to get the group titles in the sidebar.
Now I only need to add the links.
I want the same functionality as for the Prev & Next buttons.
Please let me know how can I proceed