Skip to content

Commit

Permalink
[FEATURE] Further config for 10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Zillion01 committed Sep 2, 2020
1 parent 1cb7fc5 commit 1159866
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 12 deletions.
14 changes: 14 additions & 0 deletions Configuration/TCA/Overrides/tx_jpfaq_domain_model_question.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php
defined('TYPO3_MODE') or die();

$boot = static function () {
// Remove TCA settings for version 10 to avoid entries in TCA migration check
if (\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Information\Typo3Version::class)->getMajorVersion() === 10) {
foreach (['question', 'category', 'questioncomment', 'categorycomment'] as $tableSuffix) {
unset($GLOBALS['TCA']['tx_jpfaq_domain_model_' . $tableSuffix]['interface']['showRecordFieldList']);
}
}
};

$boot();
unset($boot);
1 change: 0 additions & 1 deletion Configuration/TCA/tx_jpfaq_domain_model_category.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => true,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
Expand Down
1 change: 0 additions & 1 deletion Configuration/TCA/tx_jpfaq_domain_model_question.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => true,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
Expand Down
4 changes: 4 additions & 0 deletions Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

ChangeLog
=========
10.4.0
"""""
For TYPO3 CMS versions 9.5 and 10.4. (thx to Cristian Fries)

9.5.3
"""""
Prevent search engine indexing of helpful links and comment form (thx to Nemo64)
Expand Down
6 changes: 3 additions & 3 deletions Documentation/Settings.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[general]
project = Frequently Asked Questions
release = 9.5.2
version = 9.5
copyright = 2019
release = 10.4.0
version = 10.4
copyright = 2020

[notify]
about_new_build = no
Expand Down
6 changes: 3 additions & 3 deletions Documentation/Settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

---
conf.py:
copyright: 2018
copyright: 2020
project: jpFAQ
version: 9.0
release: 9.0.0
version: 10.4
release: 10.4.0
intersphinx_mapping:
t3tsref:
- http://docs.typo3.org/typo3cms/TyposcriptReference/
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Javascript/jpFaq.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ var jpFaq = jpFaq || {};
$(jpFaqFilterCount).hide();
}

$(txJpfaq + ' li').each(function () {
$(txJpfaq + ' .jpfaqList > li').each(function () {
if ($(this).text().search(new RegExp(searchFilter, 'i')) < 0) {
$(this).fadeOut('fast');
} else {
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
'uploadfolder' => false,
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '9.5.3',
'version' => '10.4.0',
'constraints' =>
array(
'depends' =>
Expand Down

0 comments on commit 1159866

Please sign in to comment.