Support custom item count for calendarize_info preview - #840
Merged
Conversation
Updated Register.php to allow overriding the number of items shown in the calendarize_info preview via the TCA parameters. Adjusted documentation to reflect the correct way to set the item count using the 'parameters' array.
lochmueller
requested changes
Aug 17, 2025
lochmueller
left a comment
Owner
There was a problem hiding this comment.
Cool. Thanks for this change. Could you check the changes and I will directly merge after it.
Contributor
Author
|
@lochmueller Hi sorry, I didn't saw you responded. I updated code accordingly. How much I see I don't receive notice now, I followed your example. Thanks. |
Owner
|
Thanks. Merged. Will be part of the next release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Register.php to allow overriding the number of items shown in the calendarize_info preview via the TCA parameters. Adjusted documentation to reflect the correct way to set the item count using the 'parameters' array.
Problem was that 1st, documention is wrong, the current documention says

But code is
Also for some reason I couldn't override your 10, so I did changes that 1st check is it set firstly in overrides or some other TCA, and if so, then use that custom number 1st and if not go to 10.
Documentaion is creally wrong, but for this other issue maybe its my problem, but please test it, becouse I had same problem on two websites.
Thanks