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.

sub category items issue

June 19, 2010 1:06pm

Subscribe [3]
  • #1 / Jun 19, 2010 1:06pm

    c_k

    98 posts

    Hi there,

    I’ve set up some categories and sub categories using this code:

    {exp:weblog:category_archive weblog="sfu_ventures" style="nested" show_future_entries="yes"}
    
    {categories}
    
    
    <h3>{category_name}</h3>
    <p>{/categories}</p>
    
    <p>{entry_titles}<br />
    <a href="#{title}">{title}</a></p>
    
    <p>{/entry_titles}</p>
    
    <p><br />
    {/exp:weblog:category_archive}

    It displays all fine, except one stubborn entry that I have listed under a sub category is listing under the parent category and the sub category on the page. All the other items only list itself under the child category and work fine. When I go in to check the item’s content, the parent and child category are selected.  I unselect the parent category from the backend, but it constantly displays under both the parent and the child category, no matter which section I move it to, and only for this one item.

    Any ideas what’s going on or how this can be fixed?

  • #2 / Jun 19, 2010 4:47pm

    Greg Salt

    3988 posts

    Hi c_k,

    What do you have selected for ‘Auto-Assign Category Parents’ at Admin > Weblog Administration > Global Weblog Preferences? Also, have you changed this in between creating and assigning categories?

    Cheers

    Greg

  • #3 / Jun 23, 2010 8:49pm

    c_k

    98 posts

    Thanks Greg! It was set to autoassign. That has seemed to fix my problem.

  • #4 / Jun 23, 2010 9:40pm

    Brandon Jones

    5500 posts

    Excellent, glad Greg helped!

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

ExpressionEngine News!

#eecms, #events, #releases