EE 1
EE 2
Category Parents

Developer

Yuri Salimovskiy - IntoEEtive

3rd Party (Free)

32 downloads (last 90 days)

Download v1.1

Compatibility

  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Better Workflow
  • Matrix

Requirements

  • jQuery for the Control Panel

Categories

Plugin

Tags

This plugin lets you fetch info about parents of given category (direct parent and root).

Parameters:
  category - category id to fetch parent (mandatory)
  exclude_self=“yes” - exclude the current category from output
 
  {exp:category_parents:parent category=”{category_id}”}
  {cat_id}
  {cat_name}
  {cat_url_title}
  {cat_description}
  {cat_image}
  {/exp:category_parents:parent}
 
  {exp:category_parents:root category=”{category_id}”}
  {cat_id}
  {cat_name}
  {cat_url_title}
  {cat_description}
  {cat_image}
  {/exp:category_parents:root}

  {exp:category_parents:all_parents category=”{category_id}”}
  {cat_id}
  {cat_name}
  {cat_url_title}
  {cat_description}
  {cat_image}
  {cat_parent_id}
  {exp:category_parents:all_parents}

Download Category Parents

EE Version Downloads Add-On Version Release Date
2.+ Download 1.1 2013-02-25 08:03 PM

Category Parents Links

This entry was created April 4, 2011, 1:38 pm.
This entry was last updated February 25, 2013, 1:06 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

2 Reviews:

Matthew81 07.23.12

Rating - {addon_rating_average}

This saved my bacon today. I don’t like doing more add-ons than necessary, but this one is solid and a really nice one to have.

KD 12.02.11

Rating - {addon_rating_average}

This is really useful. I found that you need to end the tags like this: {/exp:category_parents:parent}