duplicates - Expression Engine categories channel outputting empty list -
i have problem outputting categories in list. seems create ul(one channel:categories) within ul, , creates empty lists before each list.
i used exact same code entries , worked fine. categories problem?
here code:
<ul>     <li><a {if segment_2 == ""} class="selected" {/if} href="">news & events</a></li>             {exp:channel:categories             channel="news_events"             disable="pagination|member_data|trackbacks"             dynamic="no"}              <li><a href="">{category_name}</a></li>         {/exp:channel:categories}      <li><a {if segment_2 == "gallery"} class="selected"{/if} href="">image gallery</a></li>  any appreciated!
with regard code output, take @ style parameter channel categories tag: http://ellislab.com/expressionengine/user-guide/modules/channel/categories.html#channel-categories-style. you'll want change style="linear" use own markup.
as blank output, it's going tough diagnose without seeing install try getting rid of dynamic="no".
Comments
Post a Comment