ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Help! Can't get the category trick from the Wiki to work any longer

June 27, 2007 5:29pm

Subscribe [1]
  • #1 / Jun 27, 2007 5:29pm

    Angie Herrera

    365 posts

    I’m trying to achieve the same thing as the original author in this thread. The solution I’ve implemented is at the bottom of the wiki page, here. But it’s not working. All that gets spit out is the category names. Here’s my code (which is a bit more complex than the wiki example).

    {exp:weblog:category_archive weblog="library" style="linear" show_empty="yes" show="not 25|26|27|28|29|30|31|32|33|34"}
    
    {categories}
    <h3 id="topic{category_id}"><a href="http://{path=library/category}">{category_name} »</a></h3>
    
    {exp:weblog:entries weblog="library" orderby="date" category="{category_id}" sort="asc" limit="5" category_group="1"}
    {if no_results}Sorry, no articles posted in this topic category yet!{/if}
    <a href="http://{comment_url_title_auto_path}">{title}</a>
    
    {/exp:weblog:entries}
    {/categories}
    {/exp:weblog:category_archive}

    I could have sworn it was working before. Perhaps before I upgraded the site to 1.6? Not sure why that would make a difference though.

    And of course, client would like this working ASAP. Joy. 😊

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases