Zwischenstand
This commit is contained in:
@@ -1,12 +1,4 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the package buepro/bookmark_pages.
|
||||
*
|
||||
* For the full copyright and license information, please read the
|
||||
* LICENSE file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
defined('TYPO3') || die('Access denied.');
|
||||
|
||||
(function () {
|
||||
@@ -17,12 +9,18 @@ defined('TYPO3') || die('Access denied.');
|
||||
'Bookmark Pages'
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
|
||||
'BookmarksLikesRatings',
|
||||
'PersonalBookmarks',
|
||||
'Personal bookmarks of a user'
|
||||
);
|
||||
|
||||
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['bookmarkpages_bookmarks'] = 'pi_flexform';
|
||||
|
||||
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['bookmarkslikesratings_bookmarks'] = 'pi_flexform';
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
|
||||
'bookmarkpages_bookmarks',
|
||||
'bookmarkslikesratings_bookmarks',
|
||||
'FILE:EXT:bookmarks_likes_ratings/Configuration/FlexForms/Bookmarks.xml'
|
||||
);
|
||||
|
||||
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['bookmarkpages_bookmarks'] = 'recursive,select_key,pages';
|
||||
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['bookmarkslikesratings_bookmarks'] = 'recursive,select_key,pages';
|
||||
})();
|
||||
|
Reference in New Issue
Block a user