Hello,
First excuse me for my English as it isn't my native.
I am trying to view events count foreach "event type" (taxonomy) using calendar but I am totally lost!
Here is what I did:
- I created a vocabulary "Event types" and added my event types :"Conference", "Journal",...
- Next I created a content type "Event" with a term reference to "Event types" and a start date/time.
- Then I created a new view
- -> Create a new view
- -> view content
- -> type "Event"
- ->View as "Calendar"
- ->View "fields"
- I added next the "start date field" as a contextual filter for the view
- In the display fields I added the Nid and the Type event then I set "use aggregation" to true
- I set the Nid to Count Distinct and type event to Group By
With "Format->Display Fields" it shows nothing! so I tried to use display as "Calendar Items" and display as "Calendar Entities" but instead of showing the events count for each event type it shows the events and and 1 as count.
I am not much experienced with drupal and calendar so if you have any idea about the problem or how to achieve what I am looking for your help is WELCOME!
Thank you
P.S: I joined a preview of I've got with Calendar Entities
Comment | File | Size | Author |
---|---|---|---|
drupal_issue.PNG | 22.39 KB | Aminouvic |
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedA calendar is a very special type of view that does its own grouping (by day). You can't do a grouped view and display it in a calendar. I can't even think how that could work.
Comment #3
Ketto CreditAttribution: Ketto commentedDo you mean that Aminouvic's case is imposible to achieve?
Comment #4
Zombie777 CreditAttribution: Zombie777 commentedReferring to this issue, is there no way to get a grouped set of events on the calendar? I don't really care about the count but since the calendar does the day grouping and the filter is set to month granularity, is it possible to group the items by a field prior in the query? Is it possible to modify the query behind the scenes? I have a project where I an testing calendar and fullcalendar to do this and fullcalendar failed, I am trying to work with calendar and I thought I almost had it. I have taxonomies listed and prior to turning on the aggregation I got the multiple entries perday, in the example one service type had 3 entries on a day and another had 2. With aggregation on I got one entry for the service type that had 3 entries and the one with 2 disappeared. I though it might be something to do with the number of events but are you saying that this is not possible at all? My project I am working on depends on this feature and I assumed drupal with one of the calendar modules could do this. It seemed like calendar almost got it, is it possible to make a module to customize the query enough to make this happen without calendar logic being affected?
Desperately hoping this will work...thanks for any feedback on this.
Comment #5
Zombie777 CreditAttribution: Zombie777 commentedPS I think this would make calendar much more utilitarian and not just fall in the Outlook type calendar category. Seems like there are a few calendars out that but none able to be used "outside the box" of a strict definition.
Comment #6
vrwired CreditAttribution: vrwired commentedI found myself with a very similar goal a month ago and I am now revisiting the idea. The only thing I've come up with so far is to parse the view with a template in hope to render it the way I want it to look. It sounds like that will be the only way to do it with what the Calendar offers currently. My original post is at http://drupal.org/node/1925858... I'll repost once I have details about my experience on this quest.
Comment #7
Neslee Canil Pinto