Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I plan to improve the Views handlers so that we can display tournaments participants and matches. It would be great to hear from developers on the specific ways in which they hope to display data from the BracketCloud API before I start on this.
Comment | File | Size | Author |
---|---|---|---|
#5 | Image1.png | 104.45 KB | RAWDESK |
Comments
Comment #0.0
fenda CreditAttribution: fenda commentedImproved
Comment #1
rnyberg CreditAttribution: rnyberg commentedI would very much like to be able to display to the following data in a View:
For us, the View block basicly doubles as sort of a quick info of a tournament. Rather than having to edit information in multiple places, the optimum would be to have the information set in BracketCloud and then by utilizing the API, showing the tournament information where ever we want to, such as old tournaments page (listing tournaments and their winners, the info block on a tournament page etc.
I would also like to be able to pass arguments to the view so that:
Currently I have to duplicate the block view in order to set the TID filtering per tournament. Passing arguments would be really beneficial.
Edit: I will add more details and usecases later on as I can think of new ones (if and when they can be considered "generally useful").
Comment #2
fenda CreditAttribution: fenda commentedSome great suggestions there.
Comment #3
rnyberg CreditAttribution: rnyberg commentedThere are no contextual filter choices available in the BracketCloud view.
Only one relationship as well "General: Zero" (not sure if that's what it's called in English, my GUI is in Finnish).
Comment #4
fenda CreditAttribution: fenda commentedYeah, I meant I need to look into adding contextual filters and relationships into the views integration. :)
Comment #5
RAWDESK CreditAttribution: RAWDESK commentedHi @fenda ,
Today i was starting to setup a tournament framework for a new tennisclub website i am working on.
I've been looking at the bracketcloud.com specs and they seem to be rich enough to fulfill my needs.
About a year ago you wrote you would add some additional fields as intially requested by rnyberg.
What's the current status of this ?
As i see now, when populating my view with BC fields, i cannot seem to find them (eg. winner, location and maybe also the BC given description). see attached screenshot
Comment #6
fenda CreditAttribution: fenda commented@RAWDESK Unfortunately I haven't had time to add these in yet. I would like to get to them at some point but not sure when! Views handlers are fairly trivial to write so if you fancy taking a stab yourself and contributing a patch back, that would be awesome!