From 23ac7fb1999f1f279e68bc8d9678e0caf78fb9a3 Mon Sep 17 00:00:00 2001 From: Christian Hackl Date: Tue, 25 Aug 2026 16:40:45 +0200 Subject: [PATCH 1/2] [FEATURE] allow selection of categories pid via PageTs Example: TCEFORM.tt_content.pi_flexform.jpfaq_faq.main.settings\.flexform\.selectCategory.PAGE_TSCONFIG_IDLIST = 20,44 --- Configuration/FlexForm/Flexform.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Configuration/FlexForm/Flexform.xml b/Configuration/FlexForm/Flexform.xml index 0f72656..f5392f0 100644 --- a/Configuration/FlexForm/Flexform.xml +++ b/Configuration/FlexForm/Flexform.xml @@ -62,7 +62,11 @@ select selectMultipleSideBySide tx_jpfaq_domain_model_category - ORDER BY category + + AND (0 IN (###PAGE_TSCONFIG_IDLIST###) OR {#tx_jpfaq_domain_model_category}.{#pid} IN (###PAGE_TSCONFIG_IDLIST###)) + AND {#tx_jpfaq_domain_model_category}.{#sys_language_uid} IN (-1, ###REC_FIELD_sys_language_uid###) + ORDER BY category + 0 10 100 @@ -246,4 +250,4 @@ - \ No newline at end of file + From 6e61145b9f4eaf889f97b6249357ff482b8d4b03 Mon Sep 17 00:00:00 2001 From: Christian Hackl Date: Tue, 25 Aug 2026 16:50:12 +0200 Subject: [PATCH 2/2] [FIX] Language file configuration uses wrong suffix in FlexForm #73 --- Configuration/FlexForm/Flexform.xml | 62 ++++++++++++++--------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/Configuration/FlexForm/Flexform.xml b/Configuration/FlexForm/Flexform.xml index f5392f0..46a8db9 100644 --- a/Configuration/FlexForm/Flexform.xml +++ b/Configuration/FlexForm/Flexform.xml @@ -2,32 +2,32 @@
- LLL:EXT:jpfaq/Resources/Private/Language/locallang_db.xfl:tx_jpfaq_flexform.sheet_main + LLL:EXT:jpfaq/Resources/Private/Language/locallang_db.xlf:tx_jpfaq_flexform.sheet_main array - + check 0 - + check 0 - + check 0 - + reload check @@ -35,14 +35,14 @@ - + check 0 - + reload check @@ -50,14 +50,14 @@ - + check 1 - + select selectMultipleSideBySide @@ -87,54 +87,54 @@
- LLL:EXT:jpfaq/Resources/Private/Language/locallang_db.xfl:tx_jpfaq_flexform.sheet_questionCommentForm + LLL:EXT:jpfaq/Resources/Private/Language/locallang_db.xlf:tx_jpfaq_flexform.sheet_questionCommentForm FIELD:main.settings.question.comment.email.enable:=:1 array - + input trim - + input trim - + input trim - + input trim - + text 1 - + text 1 - + reload check @@ -143,14 +143,14 @@ FIELD:questionComment.settings.question.comment.email.sendCommenterNotification:=:1 - + input FIELD:questionComment.settings.question.comment.email.sendCommenterNotification:=:1 - + text 1 @@ -158,7 +158,7 @@ FIELD:questionComment.settings.question.comment.email.sendCommenterNotification:=:1 - + text 1 @@ -169,54 +169,54 @@ - LLL:EXT:jpfaq/Resources/Private/Language/locallang_db.xfl:tx_jpfaq_flexform.sheet_categoryCommentForm + LLL:EXT:jpfaq/Resources/Private/Language/locallang_db.xlf:tx_jpfaq_flexform.sheet_categoryCommentForm FIELD:main.settings.category.comment.email.enable:=:1 array - + input trim - + input trim - + input trim - + input trim - + text 1 - + text 1 - + reload check @@ -225,14 +225,14 @@ FIELD:categoryComment.settings.category.comment.email.sendCommenterNotification:=:1 - + input FIELD:categoryComment.settings.category.comment.email.sendCommenterNotification:=:1 - + text 1 @@ -240,7 +240,7 @@ FIELD:categoryComment.settings.category.comment.email.sendCommenterNotification:=:1 - + text 1