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 &amp; 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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -