Commit 888eb833 authored by Thomas Löffler's avatar Thomas Löffler

[TASK] Adds constant for maximum items in news listing

parent bfdfa5ee
......@@ -9,6 +9,7 @@ tt_content {
pidInList.field = pages
recursive.field = recursive
selectFields = pages.*
max = {$plugin.tx_justnews.maxItems}
where = NOT hidden AND doktype = 12
languageField = sys_language_uid
orderBy = news_datetime DESC
......
# customcategory=newslist=LLL:EXT:just_news/Resources/Private/Language/locallang_be.xlf:CType.news_list
plugin.tx_justnews {
# cat=newslist//a; type=int+; label=LLL:EXT:just_news/Resources/Private/Language/locallang_be.xlf:constants.maxItems
maxItems = 0
}
\ No newline at end of file
......@@ -21,6 +21,9 @@
<trans-unit id="wizard.description" xml:space="preserve">
<source>News list with possibility to filter for sysfolder and/or categories</source>
</trans-unit>
<trans-unit id="constants.maxItems" xml:space="preserve">
<source>Maximum items in list (zero = all)</source>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment