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.

Only output parent category posts

August 27, 2007 10:47pm

Subscribe [2]
  • #1 / Aug 27, 2007 10:47pm

    dyode

    17 posts

    If you have a category structure with subcategories any posts assigned to a subcategory are inherently also assigned to the subcategories parent category. This causes a dilemma if you only want to display posts assigned specifically just to a parent category. How is it possible to only display posts of a parent category and not it’s children?

  • #2 / Aug 28, 2007 12:30am

    Ryan Irelan

    444 posts

    If I understand correctly, the issue you’re having is that EE is auto-assigning the parent category when you select a child. You can turn that off in the Global Weblog Preferences:

    Auto-Assign Category Parents
    If set to “yes”, when new entries are submitted, the parent category will be automatically assigned whenever you choose a child category

  • #3 / Aug 28, 2007 1:42am

    dyode

    17 posts

    Thanks, thats it.

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

ExpressionEngine News!

#eecms, #events, #releases