Category Info

Developer

Laisvunas

3rd Party (Commercial)
Current Version: 1.3.2

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

Category Info allows you to output info about a certain category without specifying anything about weblogs or entries.

PARAMETERS:

1) category_id - Required. Allows you to specify category id number.

2) site - Optional. Allows you to specify site id number.

3) invalid_input - Optional. Accepts two values: “alert” and “silence”.
Default value is “silence”. If the value is “alert”, then in cases when
the plugin has some problem with parameters,  PHP alert is being shown;
if the value is “silence”, then in cases when the plugin has
some problem with parameters, it finishes its work without any alert being shown.
Set this parameter to “alert” for development, and to “silence” - for deployment.

VARIABLES:

1) {cat_info_category_group_name}

2) {cat_info_category_group}

3) {cat_info_parent_category_id}

4) {cat_info_category_name}

5) {cat_info_category_url_title}

6) {cat_info_category_description}

7) {cat_info_category_image}

8) {cat_info_subcategories_number}

9) {cat_info_nonempty_subcategories_number}

Also the values of custom category fields can be retrieved using their names
with “cat_info_” appended. E.g. if there is custom category field named
“my_field”, its value can be outputted using variable {cat_info_my_field}.

Conditionals are supported.

EXAMPLE OF USAGE:

{exp:cat_info category_id="{segment_3}"}

{if cat_info_category_group=="3"}
Some code
{/if}

{if cat_info_category_group=="45"}
Some code
{/if}

{/exp:cat_info}

Category Info Links

This entry was created July 1, 2009, 3:43 pm.
This entry was last updated June 23, 2013, 12:05 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.

1 Review:

Portnull 11.28.11

Portnull
Rating - {addon_rating_average}

good addon, does what it says and well.