Category Leaves and Breadcrumbs

Developer

The Luxury Brand Agency LLC

3rd Party (Commercial)


EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Create category breadcrumbs from a group and list entries

Breadcrumbs from categories and Entries

The LBA category leaves lister outputs the leaves (categories without any children) of a given category group.
Available tags are:
{cat_id}: the id of the category leaf. Useful to pull the entries that are associated with this category
{cat_name}: the name of the category in Expression Engine
{parent_id}: the id of the parent category
{cat_breadcrumbs}: this tag issues a breadcrumb of the category.

Parameters for the tag are:
group_id: the category group you’d like to extract leaves from. This parameter is compulsory.
bread_crumb_separato: the string that you would like to use to separate the different breadcrumbs.

When outputting the breadcrumbs, the plugin encases each breadcrumb in a tag. Also, the leftmost breadcrumb is also assigned a class of “first” and the rightmost one a class of “last”, which allow you to format them easily using CSS. The breadcrumb separators are encased in a tag, again allowing easy formatting.

If you would like to use this plugin to output the entries of the category, make sure you add the Expression Engine “parse=‘inward’” tag. All the channel:entries parameters and tags will then be available.

{exp:lba_catleaves group_id=“1” bread_crumb_separator=”**” parse=“inward”}

{exp:lba_catleaves group_id=“1” bread_crumb_separator=”**” parse=“inward”}
     <h3>{cat_breadcrumbs}</h3>
     <ul>
     {exp:channel:entries category=”{cat_id}” dynamic=“no”}
          <li>{title}</li>
     {/exp:channel:entries}
     </ul>
{/exp:lba_catleaves}</code></pre>

	

This entry was created July 31, 2015, 1:28 pm.
This entry was last updated July 31, 2015, 3:47 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!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!