Entry Categories

Developer

Laisvunas

3rd Party (Commercial)
Current Version: 1.4.1

License Agreement

Buy Now!

$12.00
Qty:

EE Version Support

  • ExpressionEngine 1.x
  • 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

Entry Categories allows you to output info about categories the entry was posted into.

PARAMETERS:

1) entry_id - Required. Alows you to specify entry id number of the entry
which categories you want to display.

2) site - Optional. Default value is “1”.

3) show - Optional. Allows you to specify category id number
(the id number of each category is displayed in the Control Panel).
You can stack categories using pipe character e.g. show=“3|6|8”. Or use “not”
(with a space after it) to exclude categories, e.g. show=“not 4|5|7”.

4) show_group - Optional. Allows you to specify category group.
You can stack group id numbers using pipe character show=“1|6|9”. Or use “not”
(with a space after it) to exclude categories, e.g. show_group=“not 5|7|11”.
Also you can use category group names as specified in control panel. You even can mix
category group names and category group id numbers using pipe symbol.

5) invalid_input - Optional. Accepts two values: “alert” and “silence”.
Default value is “silence”. If the value is “alert”, then in cases when some
parameter’s value is invalid plugin exits and PHP alert is being shown;
if the value is “silence”, then in cases when some parameter’s value
is invalid plugin finishes its work without any alert being shown.
Set this parameter to “alert” for development, and to “silence” - for deployment.

VARIABLES:

1) {categories_number} - outtputs number of categories the entry was posted into.

2) {category_levels_number} - outputs number of levels of categories hierarchy.

The plugin supports huge number of variables of the types outlined below:

3) {level0_category0_cat_id}, {level0_category1_cat_id}, {level0_category2_cat_id} ...
{level1_category0_cat_id}, {level1_category1_cat_id}, {level1_category2_cat_id} ...
{level99_category99_cat_id}.

4) {level0_category0_cat_name}, {level0_category1_cat_name}, {level0_category2_cat_name} ...
{level1_category0_cat_name}, {level1_category1_cat_name}, {level1_category2_cat_name} ...
{level99_category99_cat_name}.

5) {level0_category0_cat_url_title}, {level0_category1_cat_url_title}, {level0_category2_cat_url_title} ...
{level1_category0_cat_url_title}, {level1_category1_cat_url_title}, {level1_category2_cat_url_title} ...
{level99_category99_cat_url_title}.

6) {level0_category0_parent_id}, {level0_category1_parent_id}, {level0_category2_parent_id} ...
{level1_category0_parent_id}, {level1_category1_parent_id}, {level1_category2_parent_id} ...
{level99_category99_parent_id}.

7) {level0_category0_group_id}, {level0_category1_group_id}, {level0_category2_group_id} ...
{level1_category0_group_id}, {level1_category1_group_id}, {level1_category2_group_id} ...
{level99_category99_group_id}.

8) {level0_category0_cat_description}, {level0_category1_cat_description}, {level0_category2_cat_description} ...
{level1_category0_cat_description}, {level1_category1_cat_description}, {level1_category2_cat_description} ...
{level99_category99_cat_description}.

9) {level0_category0_cat_image}, {level0_category1_cat_image}, {level0_category2_cat_image} ...
{level1_category0_cat_image}, {level1_category1_cat_image}, {level1_category2_cat_image} ...
{level99_category99_cat_image}.

10) {level0_category0_subcats_number}, {level0_category1_subcats_number}, {level0_category2_subcats_number} ...
{level1_category0_subcats_number}, {level1_category1_subcats_number}, {level1_category2_subcats_number} ...
{level99_category99_subcats_number}.

EXAMPLE OF USAGE:

{exp:entry_cats entry_id="3049" site="1"}

{if category_levels_number == 2}

{level0_category0_cat_name}, {level1_category0_cat_name}

{/if}

{/exp:entry_cats}

Entry Categories Links

This entry was created July 1, 2009, 4:33 pm.
This entry was last updated January 26, 2011, 4:51 am.

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!