Skip to content

Commit

Permalink
TYPO3 v12, news 11.0 compability
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf committed Jun 20, 2023
1 parent dee31fb commit 65c7081
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
6 changes: 1 addition & 5 deletions Resources/Private/Layouts/Detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers"
data-namespace-typo3-fluid="true">

<f:if condition="{settings.cssFile}">
<n:includeFile path="{settings.cssFile}" />
</f:if>

<div class="news news-single">
<div class="article" itemscope="itemscope" itemtype="http://schema.org/Article">
<f:render section="content" />
</div>
</div>
</html>
</html>
6 changes: 1 addition & 5 deletions Resources/Private/Layouts/General.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
xmlns:n="http://typo3.org/ns/GeorgRinger/News/ViewHelpers"
data-namespace-typo3-fluid="true">

<f:if condition="{settings.cssFile}">
<n:includeFile path="{settings.cssFile}" />
</f:if>

<div class="news">
<f:render section="content" />
</div>
</html>
</html>
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"GPL-2.0+"
],
"require": {
"typo3/cms-core": " ^11.5 || main-dev",
"georgringer/news": "^9.4"
"php": "^7.4 || ^8.0",
"typo3/cms-core": "^11.5 || ^12.4",
"georgringer/news": "^10.0 || 11.0"
},
"suggest": {
"bk2k/bootstrap-package": "Bootstrap Package with Bootstrap 5 enabled"
Expand Down
4 changes: 2 additions & 2 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
'category' => 'templates',
'constraints' => [
'depends' => [
'typo3' => '11.5.0-12.99.99',
'news' => '*',
'typo3' => '11.5.0 - 12.4.99',
'news' => '9.0.0 - 10.99.99',
],
'suggests' => [
'bootstrap_package' => '*'
Expand Down

0 comments on commit 65c7081

Please sign in to comment.