wapplersystems / tag
A patch for TYPO3 to easily add tags just like categories to any element
Installs: 209
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Open Issues: 3
Type:typo3-cms-extension
Requires
- typo3/cms-core: ^12
This package is auto-updated.
Last update: 2024-12-13 11:39:40 UTC
README
The extension automatically adds the tag field to the following elements:
- tt_content
- fe_users
There are two ways to add the tag field to your own element:
By override file:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('<table>', [
'tags' => [
'config' => [
'type' => 'tag',
],
],
]);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes('<table>', 'tags', '', 'after:categories');
By TCA configuration:
'tags' => [
'config' => [
'type' => 'tag',
],
],
Please don't forget to add the field in your sql file:
tags int(11) DEFAULT '0' NOT NULL