SC Category Select

Developer

Andrew Gunstone

3rd Party (Free)

716 downloads (last 90 days)

Download

EE Version Support

  • ExpressionEngine 1.x

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)

Fieldtype

Tags

SC Category Select is a FieldFrame FieldType which displays selected category group categories in a drop-down (select) list. It only allows selection of a single category, however the drop-down can list categories from multiple category groups. The category id is saved - not the category name - however you can display the heading, description and url_title using some custom functions.

On saving an entry, the ‘real’ category will be automatically selected as well, for ALL SC Category Select fields listed on the publish form… even those in a FF Matrix. This allows template interaction with the fieldtype tag, and the use of normal category tags. It also has the added benefit of allowing you to use the category search in the CP Edit tab.

It is recommended that you ‘hide’ the categories tab when using this FieldType, as the add-on overwrites category selections for the entry on save.

Version

1.1.3

  • Fixed a bug when saving “normal” categories on publish forms with no SC Category Select field.

1.1.2

  • Fixed a bug when saving with no category selected
  • Added some LG Addon Updater goodness

1.1

  • Now FieldFrame Matrix compatible
  • Now EE Multiple Site Manager (MSM) compatible
  • Fixed a bug where only 1 category was saved to categories table even if multiple SC Category Select fields were used on the publish form
  • Fixed some minor bugs
  • Thanks to Mike Gallagher for his help with testing

1.0

  • Initial release

Requirements

SC Category Select requires ExpressionEngine 1.6.8+. This FieldType does not work in EE2.0.

SC Cateogry Select requires Pixel&Tonic’s FieldFrame 1.4 extension.

Installation

The SC Category Select FieldType contains an extension and language file:

  1. Download the latest version of SC Category Select
  2. Extract the .zip file to your desktop
  3. Copy system/extensions/fieldtypes/sc_category_select to /system/extensions/fieldtypes
  4. Copy the language/english/lang.sc_category_select.php file to /system/languages/english
  5. Open the FieldTypes Manager
  6. Enable the SC Category Select FieldType
  7. The FieldType will now be available when creating a Custom Weblog Fields

Usage

Creating your fieldtype

Using this FieldType is easy.

Create a new Weblog Custom Field as usual. Select SC Category Select from the Field Type dropdown.

Select one or more Category Groups from the multi-select list.

You can also use this field type with FieldFrame Matrix.

Finish entering all other details for the Custom Field and save it!

Using the fieldtype in your template

To display the category id, use the custom field tag as normal for the SC Cateogry Select field:

<p>The selected category id is {my_custom_sc_category_select_field}.</p>

You can also display the category heading, description and url_title using (will return blank if nothing exists):

<p>Category heading - {my_custom_sc_category_select_field:heading}.</p>
<p>Category heading - {my_custom_sc_category_select_field:description}.</p>
<p>Category heading - {my_custom_sc_category_select_field:url_title}.</p>

Please note!

To use the normal {exp:weblog:categories} tags, you must have added the appropriate category groups to the weblog you are using.

Download SC Category Select

EE Support Downloads Add-On Version Release Date
Not Specified Download

SC Category Select Links

Hooks Used

If the add-on is an extension, and ties into ExpressionEngine's core files, it will use ExpressionEngine hooks. We are listing any hooks the add-on uses for developers to have an easier time locating other add-ons that they can reference for their own work.

  1. submit_new_entry_absolute_end

This entry was created February 24, 2010, 6:06 am.
This entry was last updated July 18, 2012, 7:21 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!