menu manager, start element and root siblings problem - error in list generation
Posted: Wed Dec 22, 2010 2:21 pm
Hi
I did post this initially in the css forum, but I think it is probably better here.
I am trying to show just part of a menu
2
2.1
2.1.1
2.1.1.1
2.1.1.2
2.1.2
2.1.3
2.2
2.3
I want to show 2.1.1 plus 2.1.2 and 2.1.3. With the children of 2.1.1 ie 2.1.1.1
I have set the men manager params to
This gives the desired menu items however, it dispays an error in the list generation. It only appears if I set show_root siblings
I am using the default template, simple_navigation.tpl
Any suggestions on how to amend the template etc would be appreciated.
I did post this initially in the css forum, but I think it is probably better here.
I am trying to show just part of a menu
2
2.1
2.1.1
2.1.1.1
2.1.1.2
2.1.2
2.1.3
2.2
2.3
I want to show 2.1.1 plus 2.1.2 and 2.1.3. With the children of 2.1.1 ie 2.1.1.1
I have set the men manager params to
Code: Select all
{menu start_element="2.1.1" show_root_siblings="1"}
Code: Select all
<ul> <!-- starts list -->
</li></ul> <!-- adds extra closing tags -->
</li> <!-- adds extra closing tags -->
<li><a href=" "><span>Communication & Control</span></a></li>
</ul> <!-- adds extra closing tags -->
</li> <!-- adds extra closing tags -->
<li><a href="http://localhost:8888/infotec-V2/index.php?page=steelwork"><span>Steelwork</span></a>
</li></ul> <!-- adds extra closing tags -->
</li> <!-- adds extra closing tags -->
<li><a href="http://localhost:8888/infotec-V2/index.php?page=aim"><span>AIM</span></a></li>
</ul>
Any suggestions on how to amend the template etc would be appreciated.