Download & Extend

When there are multiple availability calendar fields on a content type, only the first is shown in a viewport

Project:Availability Calendars
Version:7.x-3.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:fietserwin
Status:postponed (maintainer needs more info)

Issue Summary

Very useful module, thank you for developing and sharing!

I have defined a content type with multiple availability calendars. All are set to show in a viewport.

After defining an instance of this content type, only the first availability calendar on the page is shown in a viewport, the others are shown as a set of months.

I have tried to change the display settings back and forth but the results stay the same.

Comments

#1

Version:7.x-3.1» 7.x-3.x-dev
Assigned to:Anonymous» fietserwin

I will have a look at it. If this is as described it is certainly a bug. (I did test multiple viewports on 1 page via a list of teasers and that worked fine.)

#2

Status:active» postponed (maintainer needs more info)

I cannot reproduce this with the 7.x-3.x-dev version. However, the commits since 3.1 do not seem to be related to what could cause this. So I need more info.
- PHP version
- Browser + version
- When and where does it appear: edit form, view full node, view teaser
- Can you detail all settings for the involved fields?
- Can you see the javascript being emitted (bottom of page, script like:

<script type="text/javascript">
<!--//--><![CDATA[//><!--
Drupal.behaviors.availabilityCalendarViewport3 = {
      attach: function(context, settings) {
        Drupal.availabilityCalendar.viewport3 = new Drupal.availabilityCalendar.Viewport(17, settings.availabilityCalendar.viewport3);
      }
    };
//--><!]]>
</script>
nobody click here