Hi rx2 and others,
I have a slightly more complicated menu for a site I'm working on.
I've followed rx2 code and got the basics working, however I need help to expand this a little further if possible.
Attached is a screenshot for you to quickly see what I'm after. I have the html coded below ready to setup in Modx.
So the basics I have working. Now I need to expand on the code that pulls in the drop down menu to look at the site tree and bring back second level (Advice,Investment,Services) as titles, then display the sections within each second level.
Please can anyone help me to get this working please, and point me in the right direction. I'm sure I need to expand/ code more inside mminnerTPL to pull in the extra html to handle but not sure how to.
Thank you guys!
Financial Management
Advice
- Thinking about investment
- Seeking advice
- Thinking about retirement
Investment
- Investment Advice
- Wealth Management
- Rebalancing/ Fund Switch
Services
- Our service agreement
- Trustees
- Fee Agreement
Investment Management
Investment
- Thinking about investment
- Seeking advice
- Thinking about retirement
Portfolios
- Portfolio 1
- Portfolio 2
- Portfolios 3
Services
- Our service agreement
- Trustees
- Fee Agreement
etc...
<nav class="navbar navbar-default hidden-xs" role="navigation">
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Financial Advice</a>
<div class="dropdown-menu multi-column">
<div class="row">
<div class="col-sm-4 col-md-4">
<span class="subnavheading">Advice</span>
<ul class="dropdown-menu">
<li><a href="#">Seeking Independent Advice</a></li>
</ul>
</div>
<div class="col-sm-4 col-md-4">
<span class="subnavheading">Investment</span>
<ul class="dropdown-menu">
<li><a href="#">Investment Advice</a></li>
</ul>
</div>
<div class="col-sm-4 col-md-4">
<span class="subnavheading">Services</span>
<ul class="dropdown-menu">
<li><a href="#">Our Service Agreement</a></li>
</ul>
</div>
</div>
</div>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Qualifying Workplace Pensions</a>
<div class="dropdown-menu multi-column">
<div class="row">
<div class="col-sm-4 col-md-4">
<span class="subnavheading">Advice</span>
<ul class="dropdown-menu">
<li><a href="#">Seeking Independent Advice</a></li>
</ul>
</div>
<div class="col-sm-4 col-md-4">
<span class="subnavheading">Investment</span>
<ul class="dropdown-menu">
<li><a href="#">Investment Advice</a></li>
</ul>
</div>
<div class="col-sm-4 col-md-4">
<span class="subnavheading">Services</span>
<ul class="dropdown-menu">
<li><a href="#">Our Service Agreement</a></li>
</ul>
</div>
</div>
</div>
</li>
</ul>
</div><!-- /.navbar-collapse -->