View Single Post
Old June 17th, 2013, 01:17 PM
nokii nokii is offline
Join Date: Jun 2013
Posts: 26

Thanks for the feedback Eric.

I've tried those loops without any succes. This is my code:

HTML 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="[]" title="[]">[]</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.

Last edited by nokii : June 17th, 2013 at 01:18 PM.