Skip to content
Snippets Groups Projects
Commit b5ba81a8 authored by Fabien Udriot's avatar Fabien Udriot Committed by Steffen Ritter
Browse files

[FEATURE] Add categorization into the Core

A common use case in every advanced website is to be able to
categorize records. Besides that, there is the need to share
categories across records. So far, each extension has to bring
its own category implementation which is not an ideal situation.

To fill the gap, we would like to introduce a new category record
type along with an API where extension developers could register
their own tables to be categorized. The relations will be stored
within "mm" tables as a less time consuming approach.

This patch provides:

* SQL definition for "sys_category" and "sys_category_mm" with
  their TCA
* a registration mechanism where third party extension can have
  their SQL fields + TCA generated on the fly. This is done by
  using the Extension Manager method:

t3lib_extMgm::makeCategorizable(
  $extensionKey, $tableName,
  $fieldName = 'categories', $options = array()
);

Change-Id: I461252b6d5f6c6c4a4eb2c1942a66250cbb95aa9
Resolves: #38711
Releases: 6.0
Reviewed-on: http://review.typo3.org/12672
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot
Reviewed-by: Marcus Schwemer
Tested-by: Marcus Schwemer
Reviewed-by: Dominik Mathern
Tested-by: Dominik Mathern
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
parent 61892aa9
No related merge requests found
Showing
with 812 additions and 11 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment