Skip to content

Commit

Permalink
Merge pull request #6 from Fanor51/feature/add_v12_support
Browse files Browse the repository at this point in the history
Add TYPO3 v12 support
  • Loading branch information
lukaszuznanski authored Mar 20, 2024
2 parents b854359 + aae92cc commit f3d5531
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
11 changes: 7 additions & 4 deletions Configuration/TCA/Overrides/sys_template.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?php
defined('TYPO3_MODE') || die();

call_user_func(function () {
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;

defined('TYPO3') || die();

call_user_func(static function () {
/**
* Default TypoScript for Headless Solr
* Default TypoScript for Headless_solr
*/
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
ExtensionManagementUtility::addStaticFile(
'headless_solr',
'Configuration/TypoScript',
'Headless Solr'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This extension provides integration to headless extension with solr extension.
If you have any questions just drop a line in #initiative-pwa Slack channel.

## Requirements
Extension requires TYPO3 in version at least 9.5.
Extension requires TYPO3 in version at least 11.5 or 12.4.

## Installation
Install extension using composer\
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
}
],
"require": {
"typo3/cms-core": "^11.5"
"typo3/cms-core": "^11.5 || ^12.4"
},
"suggest": {
"friendsoftypo3/headless": "^2.0"
"friendsoftypo3/headless": "^2.0 || ^4.0"
},
"extra": {
"typo3/cms": {
Expand Down
6 changes: 3 additions & 3 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
'author_email' => 'extensions@macopedia.com',
'category' => 'fe',
'internal' => '',
'version' => '2.0.0',
'version' => '3.0.0',
'constraints' => [
'depends' => [
'typo3' => '10.0.99-11.9.99',
'frontend' => '10.0.99-11.9.99'
'typo3' => '11.0.99-12.9.99',
'frontend' => '11.0.99-12.9.99'
],
'conflicts' => [],
'suggests' => [
Expand Down

0 comments on commit f3d5531

Please sign in to comment.