Braunson
Braunson
TCTwill CMS
Created by Braunson on 2/4/2025 in #👊support
Adding a count of a browser relation in a module list view?
Easiest way is to set withCount on the Model, then access it via the tables it looks like.
3 replies
TCTwill CMS
Created by Braunson on 2/4/2025 in #👊support
Adding a count of a browser relation in a module list view?
I'm using additionalIndexTableColumns but can't seem to find a place to eager load the counts on the model results.
3 replies
TCTwill CMS
Created by Braunson on 10/17/2024 in #👊support
Limiting BlockEditor blocks? Possible?
With the block editor, I can pass in a Block class ColumnContentBlock where my fields are defined. I can then use that block class ColumnContentBlock elsewhere where needed however since BlockEditor doesn't support max, the solution to limit the # of block ColumnContentBlock that can be used is to use the InlineRepeater field. The downside with that is it does not accept a block ColumnContentBlock like BlockEditor does, instead I have to pull my field definitions out of the ColumnContentBlock class and into the InlineRepeater definition inside my .... ParentContentBlockThatContainsBlockEditorAsAField
8 replies
TCTwill CMS
Created by Braunson on 10/17/2024 in #👊support
Limiting BlockEditor blocks? Possible?
not a huge issue for my current use case but in the future if i want to re-use that custom sub-block elsewhere, i have to re-define the fields
8 replies
TCTwill CMS
Created by Braunson on 10/17/2024 in #👊support
Limiting BlockEditor blocks? Possible?
In order to limit the block editor block, i instead have to use a repeater. a repeater doesn't accept a class so i have to redefine the custom sub-block item fields in the repeater everywhere..
8 replies
TCTwill CMS
Created by Braunson on 10/17/2024 in #👊support
Limiting BlockEditor blocks? Possible?
Looks like to achieve what I want, I have to move my custom block into a inline repeater which isn't ideal for reusability..
8 replies