Probably something to be reported to FullCalendar queue but, what's strange is that FullCalendar Legend pane (see the legend "Test1" and "Test2" as vocabulary terms) seems to work looking at this screenshot (taken from this OA reported issue, credit: @cgove) on Open Atrium 7.x-2.x-dev.

I was able to tag Events with colors thorugh Taxonomy terms but, in my case on Open Atrium 2.4143, the FullCalendar Legend pane doesn't show nothing (cache cleared, site re-indexed and permissions rebuilt) despite I tried to change its default settings/style.

FullCalendar Legend configuration settings are:

Legend Type:
Bundle or Taxonomy (which is the default value)
with Taxonomy the Preview is void (so there is no Preview at all).
with Bundle the Preview always shows "Event" in blue (no matter the taxonomy terms used).

FullCalendar View:
Open Atrium Calendar (no other choices)

See screenshots.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dpoletto’s picture

Version: 7.x-2.41 » 7.x-2.43
Issue summary: View changes

Still happens on Open Atrium 2.43.

mpotter’s picture

No need to update the version unless you saw something in the release notes about this being fixed. This is more an issue for FullCalendar than Atrium as FullCalendar is the module supplying the legend.

dpoletto’s picture

Yep, I just updated to be sure to reference the support request against the latest stable.

Was there any difference between OA 2.x-dev and Latest Stable regarding the way FullCalendar module cope with OA since it is the module responsible to supply the FullCalendar legend pane?

dpoletto’s picture

Any news on that?

I saw that, during various webinars (latest one was the one about Atrium 2.50's new Features on November, 19th), the FullCalendar Legend placed by default into the Sections's Sidebar Pane is correctly displaying both (A) taxonomy terms and (B) their associated customized colours labels...my site still doesn't show them both (see Screenshot attached on July): so neither coloured legends of taxonomy terms nor the taxonomy terms.

I tested it again today on 2.50 upgraded from 2.45 (also in 2.45 the FullCalendar Legend didn't work at all).

The Calendar Section (in my case the Section was named "helpdesk"), in which the Calendar was defined, has its taxonomy vocabulary listed into /admin/structure/taxonomy/helpdesk (yes, vocabulary name was chosen equal to the section name, no matter) and each created Event on that Calendar is eventually tagged with the relevant Taxonomy term; /admin/config/user-interface/colors/taxonomy shows various Taxonomies enabled for various Sections the site has, among which there is the helpdesk Section.

So I ask: how is it possible that some Open Atrium (I imagine with standard - I mean non-Dev - modules installed) I see around shows the FullCalendar Legend Sidebar Pane correctly displaying vocabulary terms with their colours and mine not...despite my site's taxonomies (and their colour labelled terms) are working correctly into, as example, the Full Calendar? Isn't this a little bit strange?

Thanks, Davide.

dpoletto’s picture

Issue summary: View changes
Argus’s picture

Project: Open Atrium » FullCalendar
Version: 7.x-2.43 » 8.x-1.x-dev
Component: Events App » Code

Moving this to the Full Calendar issue queue.

Argus’s picture

Version: 8.x-1.x-dev » 7.x-2.x-dev

Setting to the correct version.

dpoletto’s picture

@Argus: let we see if something is going to change in addressing this tiny issue to another queue (it could have been my fault in Taxonomy's configuration despite, as reported, Taxonomy and Colours run correctly into the Full Calendar, they just don't work into its Legend sidebar pane...at least on a Open Atrium based site).

Alex Overton’s picture

Hi, I confirm this is still an issue and also in OA the legend does not allow selection of "users" although it is an option in colourmodule so would be great to have this working.

The area in particular is
Legend Type:
Bundle or Taxonomy ...so it is missing the "user" and "user role" and "og" as possible options for legend. It is a really handy feature to differentiate between multiple users/roles within OA.

Really happy to "donate" if it help speeds up development.

Thanks in advance

Alex

Alex Overton’s picture

Just thought I would update with a work around, I created a view of Users and added uid (hidden) and used the auto generated CSS code with UID replacement output by styling the field ..DIV

The only trouble is I am now struggling to filter the view to show only the colours relevant to the calendar view.

cgove’s picture

FullCalendar still can't find OG Vocab taxonomies even with this patch that is already included in OA.
https://www.drupal.org/node/2044391
http://drupal.org/files/fullcalendar-legend-entityreference_taxonomy-204...

$field_info[$taxonomy_field_name]['settings']['handler_settings']['target_bundles'] returns an empty array for me.

Not sure if this is the optimal way, but I managed to get it working with this code:

fullcalendar/fullcalendar_legend/fullcalendar_legend.module

After:

          // handle entityreference fields that point to taxonomy terms
          if (($field_info[$taxonomy_field_name]['type'] == 'entityreference') &&
            ($field_info[$taxonomy_field_name]['settings']['target_type'] == 'taxonomy_term')) {
            foreach ($field_info[$taxonomy_field_name]['settings']['handler_settings']['target_bundles'] as $vocab) {
              _fullcalendar_legend_add_vocab($vocab, $taxonomy_field_name, $field_name, $entity_type, $bundle, $types, $use_i18n);
            }

Add:

            // handle OG Vocab fields
            if(empty($field_info[$taxonomy_field_name]['settings']['handler_settings']['target_bundles']) && $field_info[$taxonomy_field_name]['settings']['handler_settings']['behaviors']['og_vocab'] == TRUE) {
              $node = node_load(arg(1));
              $ogvocabs = og_vocab_relation_get_by_group('node', $node->og_group_ref['und'][0]['target_id']);
              foreach ($ogvocabs as $key => $ogvocab) {
                $vocab = taxonomy_vocabulary_load($ogvocab->vid);
                _fullcalendar_legend_add_vocab($vocab->machine_name, $taxonomy_field_name, $field_name, $entity_type, $bundle, $types, $use_i18n);
              }
            }

Before:

            continue;
          }
cgove’s picture

timmay’s picture

#11 worked for me.
Thanks for posting!