Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit Extension for TYPO3 12 #2

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"GPL-2.0-or-later"
],
"require": {
"typo3/cms-core": "^10.4 || ^11",
"georgringer/news": "^9"
"typo3/cms-core": "^12.4",
"georgringer/news": "^11"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

$EM_CONF[$_EXTKEY] = [
$EM_CONF['news_category_pid_constraint'] = [
'title' => 'News pid check',
'description' => 'Check if record is allowed on current page by comparing current page to category category',
'category' => 'fe',
Expand Down
8 changes: 0 additions & 8 deletions ext_localconf.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
<?php

$signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class);
$signalSlotDispatcher->connect(
\GeorgRinger\News\Controller\NewsController::class,
'detailAction',
\GeorgRinger\NewsCategoryPidConstraint\Event\PidConstraintEvent::class,
'connectSignalSlot',
TRUE
);