I have a similar problem as reported by others, however in "manage display" I set the options to "Show split day states".
I tried all:
- Deleted node and created again
- Set configuration in node type for editing and view to "split day states", deleted nodes, created again
- Switched to JQueryUpdate 1.5 and then to 1.7 again
nothing helps.
As soon I choose "Show split day states" the calender is empty.
In editmode I can work with split day states and it shows correctly.
Enclosed you find the screenshots of the calendar and the browser inspector. As one can see, no color is assigned in the split variant.
I did not touch default css setings in "/admin/config/content/availability-calendar/styling", the option "generate css file" is checked. I guess otherwise also the none-split variant would not work.
I am using display suite, however did not configure anything for this node.
Has anyobdy an idea?
thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | availability_calendar.zip | 1.15 KB | beauregard |
| calendar split day problem.pdf | 373.82 KB | beauregard |
Comments
Comment #2
fietserwinThank you for this clear problem report.
- Apparently no styles are defined for split days. You can confirm so by looking at the contents of the file sites/default/files/availability_calendar/availability_calendar.css.
- If it does not contain a comment /* Split day coloring */ followed by split day color styles, you should recreate that styles files by going to "admin/config/content/availability-calendar/styling" and giving the setting "How to render a split day" a value other than none, normally you want to render a split day like / (upper left triangle = morning, lower right triangle = afternoon (on LTR languages)). Ensure that "Generate the css file" is checked and click on "Save settings".
If this is not the solution after all, I want to know:
- does that css file get loaded on the page?
- what is the contents of that css file below that comment?
BTW: you can change the month caption by editing the "Availability Calendar month caption" date type on "admin/config/regional/date-time" (and accompanying localize pages: "admin/config/regional/date-time/locale/{language-code}/edit").
Comment #3
beauregard commentedThanks for the fast reply, that's great.
I checked the CSS file: All required information about "split day coloring" is there and the css file is loaded.
To make sure I generated it again simply by changing the value to make the split, as you suggested. But the result is the same.
See the css file enclosed. There is also a availability_calendar-rtl.css generated.
Maybe something wrong with the css file?
And thanks for the tip for the month caption!
Comment #4
fietserwinAh I think I know: your theme does not emit the dir=ltr attribute in the html tag: it should:see a.o. #1935260: Add 'dir' and other attributes to HTML tag and #1732772: Add html tag to html.tpl.php.
Feel free to reopen if this is not the cause.
Comment #5
beauregard commentedHi
Just want to confirm, that this was the problem and it is solved now.
thanks for your support!