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.
Hi,
I have created an availability calendars field and successfully show the calendars on page node, however, the calendars key is not showing. (i.e. which colors means available, which colors means booked). Is there any configuration I need to do to show the calendars key? Thanks a lot.
Comments
Comment #1
fietserwinEnable(/position) the block?
Comment #2
jj0914 CreditAttribution: jj0914 commentedim having the same issue, I tried the block reference, not showing.
Is there a way we can show the keys by default as most ppl like to know what colour means what.
Thx
Comment #3
fietserwinThe calendar key/legend is a block. So the normal things you do with blocks are to be done here as well.
- Enable the block by positioning it in region you want.
- Configure it to only show it on the pages you want (visibility settings and then either pages or content types).
- If you want the block to appear in the entity/node content, you can use a module like block reference. Note that after you have set it, you will have to update all existing nodes/entities to have their block reference field filled with the default you set in the field settings.
Comment #4
jj0914 CreditAttribution: jj0914 commentedTks for your last comment, I think I forgot to update the existing entities in order to show my default set value after the block reference field was set. I will give that a try.