Skip to content

Commit

Permalink
[FEATURE] Add listPid to FlexForm of detail plugin (#2619)
Browse files Browse the repository at this point in the history
Resolves #2612
  • Loading branch information
h-e-l-l-o-w-o-r-l-d authored Feb 15, 2025
1 parent d2c107e commit 43a692a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Configuration/FlexForms/flexform_news_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,24 @@
</config>
</settings.detailPid>

<!-- PID List Page -->
<settings.listPid>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_additional.listPid</label>
<config>
<type>group</type>
<allowed>pages</allowed>
<relationship>manyToOne</relationship>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
<suggestOptions>
<default>
<addWhere>AND pages.doktype NOT in (6,199,254)</addWhere>
</default>
</suggestOptions>
</config>
</settings.listPid>

<!-- PID Back -->
<settings.backPid>
<label>LLL:EXT:news/Resources/Private/Language/locallang_be.xlf:flexforms_additional.backPid</label>
Expand Down

0 comments on commit 43a692a

Please sign in to comment.