Thanks for the feedback Eric.
I've tried those loops without any succes. This is my code:
<div class="btn-group" style="margin-left: 13px;margin-top: 9px;"><a class="btn dropdown-toggle" data-toggle="dropdown" href="#">Kategori<span class="caret"></span></a><ul class="dropdown-menu">
[category.list before='' after='']
<li style="list-style-type: none;margin:0px;">
<a href="[category.link]" title="[category.name]">[category.name]</a>
As you may see I'll be having an empty dropdown menu if the category list is empty. That's what I want a work-around for.
I tried placing everything before the [category.list before='' after=''] in the before='' field. And then placing the last line in the after='' field, which didn't work.
I've now tried to place the [category.if active='child'] loop before [category.list before='' after=''], didn't work. Then I simply removed the "category.list" and kept the "category.if active='child' but no succes there either.
Do you see any misstakes? Maybe I'm not do it right.
I don't get an error, the dropdown is simpy missing.