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.

Display categories when selected / not selected

May 29, 2013 4:32pm

Subscribe [1]
  • #1 / May 29, 2013 4:32pm

    shotgunflat

    116 posts

    I have a site that has a single entry page.  On that single entry page I want to display two category lists - one for categories that HAVE been selected for that page and one for categories that HAVE NOT been selected. 

    For instance I want the following to show up, but dynamically - not because I manually added the show variable:

    <h1>Categories Selected</h1>
    {exp:channel:categories show="1|2|4"}
      {category_name}
    
    {/exp:channel:categories}
    
    <h1>Categories Not Selected</h1>
    {exp:channel:categories show="3|5"}
      {category_name}
    
    {/exp:channel:categories}
    


    Any thoughts or plugins that people know of?

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

ExpressionEngine News!

#eecms, #events, #releases