Opened 8 years ago
Closed 8 years ago
#854 closed enhancement (fixed)
Configuration change for Showcase content type fields and display
Reported by: | martin.wynne@it.ox.ac.uk | Owned by: | Bas van der Veen |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Website | Version: | |
Keywords: | Cc: |
Description
Two small changes are proposed to the 'Showcase' content type.
1.
Currently, only one value is permitted for 'CLARIN Centre' field, and I would like to allow multiple values for this field (unlimited, or up to 5).
Multiple values could be displayed separated by line breaks, commas or colons.
The latest showcase (Abacus) is a collaboration between three centres, and there are likely to more cases in future where there is more than one 'Centre'.
2.
Display of the tags field. Multiple values are currently concatenated, and since they can contain spaces, the result is confusing - see https://www.clarin.eu/showcase/abacus. In the display, they need to be separated by line breaks, commas or colons. Alternatively, they could have a coloured background, e.g.:
Change History (5)
comment:2 Changed 8 years ago by
Owner: | changed from Bas van der Veen to Sander Maijers |
---|---|
Status: | new → assigned |
comment:3 Changed 8 years ago by
Owner: | changed from Sander Maijers to Bas van der Veen |
---|
Bas will handle the old tickets. Sorry, forgot.
comment:4 Changed 8 years ago by
I've changed https://www.clarin.eu/showcase/keeleveeb-query to test changes and implemented proposed solution on [www.clarin.eu]. I'll close it soon, unless some unwanted side effects show up
comment:5 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
1.
https://www.clarin.eu/admin/structure/types/manage/showcase/fields/field_clarin_centre allows both options, so I've set Number of Values on unlimited. I've changed it on https://tst.clarin.eu to see the effect.
2.
The example http://www.clarin.ac.uk/hansard-corpus uses bootstrap btn class, which isn't possible yet in clarin.eu. In drupal there are many different display types possible (bold, underline, list) and easily changed. I chose underline as displayed on https://tst.clarin.eu/showcase/keeleveeb-query to make the distinction between items more clear. On page https://www.clarin.eu/admin/structure/types/manage/showcase/fields/field_tags you can edit Wrapper markup