Primary Category 2.x

Legacy documentation for Primary Category 2.x.

Version 2.3.1 (February 4, 2015)

  • Fixed a bug where Primary Category was calling a 'site_id' info DB query on every single channel entry in a Channel:Entries loop instead of caching it on first run.

Version 2.3.0 (August 21, 2014)

  • Added {if primary_category_no_results}{/if} conditional in {exp:primary_category} tag and Channel:Entries' {primary_categories}{/primary_categories} variable pair.

Version 2.2.3 (June 6, 2014)

  • Fixed a bug where dollar sign-prefixed values (eg. $100) in the {primary_categories} variable pair would parse the first three characters to an empty value (eg. display 0 instead of $100).
  • Removed triggering of developer log deprecated messages about set_cookie().

Version 2.2.2 (April 8, 2014)

  • Fixed an bug in EE 2.8 where extension settings would not save.

Version 2.2.1 (May 10, 2013)

  • Updated for compatibility with ExpressionEngine 2.6.
  • Fixed a bug where native JSON features were not being used if present.

Version 2.2.0 (March 19, 2013)

  • Added the ability to select multiple primary categories per entry, but limited to one primary category per category group.
  • Added preference to settings to disable fixed height of categories list.
  • Added the {primary_category_group_name} variable to display the category group name.
  • Added a category_group="" parameter to the {exp:primary_category} tag and the {primary_categories} variable pair within {exp:channel:entries}.
  • Added significant updates to the Publish page UI.
  • Modified Channel:Entries usage of Primary Category to run its variables through the {primary_categories}{/primary_categories} variable pair instead.
  • Fixed a bug where a category group whose name is alphabetically lower than another empty category group does not display in the entry form's Primary Category section.
  • Fixed a bug where the collapse icons for category group headers would not collapse categories when clicked.
  • Fixed a bug where primary categories would be deleted when saving a SafeCracker form without a "primary_category" field.

Version 2.1.0 (January 31, 2013)

  • Removed support for ExpressionEngine 1.x (Primary Category is now EE2 only).
  • Added offline documentation files to download package.
  • Fixed a bug where {filedir_X} would not parse to the upload directory URL in {primary_category_image}.

Version 2.0.2 (April 23, 2012)

  • Fixed a bug where custom category orders were not respected.

Version 2.0.1 (February 7, 2012)

  • Fixed a bug where deleting a category group that was currently assigned to an entry would show an error in the edit page.

Version 2.0.0 (May 16, 2011)

  • Converted Primary Category to use Solspace Add-on Builder Framework, and Solspace Bridge for EE 1.x.
  • Added preference settings for "Remember" checkboxes in publish page.
  • Added {primary_category_parent_name} and {primary_category_parent_url_title} variables for use in Weblog/Channel:Entries tag and exp:primary_category tag.
  • Updated the Category area in the Publish page with some minor UX improvements.

Version 1.6.3 (November 24, 2010)

  • Fixed a bug where Primary Category would sometimes conflict with other extensions.

Version 1.6.2 (January 11, 2010)

  • Fixed a bug where deeply nested categories would not display in the category tree.
  • Fixed a bug where a Category ID of "0" was being assigned to entries when no categories were assigned at all.

Version 1.6.1 (July 6, 2009)

  • Added support for Preview and Quick Save compatibility.

Version 1.6.0 (April 21, 2009)

  • Added ability to limit Primary Category selection to specific category groups per weblog.
  • Added collapsible category tree functionality.
  • Added check for built-in jQuery for the Control Panel extension.
  • Modified delete anchor creation code.
  • Fixed a bug that can occur when Primary Category has no weblogs assigned in the $EXT->s_cache array.
  • Fixed a bug in the Settings that occured when extension upgraded or newly installed.
  • Fixed a bug where the category tree only showed the first sub-category.

Version 1.5.5 (September 3, 2008)

  • Added ability to use "primary_category" within the Weblog:Entries "disable" parameter.
  • Optimized database queries.
  • Optimized code for speed enhancements.

Version 1.5.0 (July 4, 2008)

  • Added capability to force a primary_category on a new/update entry.
  • Settings can be changed on a per weblog basis AND per site basis.

Version 1.0.6 (June 12, 2008)

  • Added memory capability on primary categories and regular categories.
  • Fixed $r bug at line 400 in extension file.

Version 1.0.5 (May 22, 2008)

  • Updated Primary Category Tab instructions in language file to reflect previous change of method.
  • Fixed a Javascript bug.

Version 1.0.4 (April 24, 2008)

  • Overhaul of category list and functionality.
  • Fixed a bug when no assigned category groups.
  • Fixed a bug with edit category link.

Version 1.0.3 (March 28, 2008)

  • Added detection of pre-loaded JS files to enhance compatibility of other EE add-ons.

Version 1.0.2 (March 26, 2008)

  • Added ability to click cat name to assign categories.
  • Added Edit Categories link.
  • Added support for url_title parameter.
  • Fixed a bug with new entry submissions.
  • Fixed a bug with extension upgrading.
  • Fixed a bug with empty cat_id and group_id variables under special cases.

Version 1.0.1 (March 12, 2008)

  • Fixed a bug with SAEF submissions.

Version 1.0.0 (March 10, 2008)

  • Initial release.