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.

how to handle multiple categories

February 24, 2014 6:02am

Subscribe [2]
  • #1 / Feb 24, 2014 6:02am

    ashabi2222

    1 posts

    Hi.
    I need to create a few country based pages. Each country will have a bunch of entries and each entry is assigned a category type.

    So what I did was.
    I created a category group with each country
    I also created a category group with each type.

    My issue is when I create the frontend I am having a problem getting the categories shown.
    This is what I have:

    {exp:channel:categories category_group="8" show_empty="no"}
        <h2>{category_name}</h2>
    <p>   {exp:dynamo:entries channel="specs" paginate="bottom" category="{category_id}"}</p>
    
    <p>    </p><h3>{title}</h3>
    <p>   <br />
       {/exp:dynamo:entries}<br />
     {/exp:channel:categories}

    But it doesn’t show correctly. It is showing all the categories but not the ones that pertain to that specific country.
    Is there a better way to set this up?

  • #2 / Feb 24, 2014 8:38am

    Boyink!

    5011 posts

    Looks like some 3rd party code in there.. best to ask whoever developed dynamo..😉

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

ExpressionEngine News!

#eecms, #events, #releases