Hi,

I have created a calendar inside drupal and I export it to Outlook. It works perfectly.
My view has a taxonomy in filter criteria and filters are exposed to users. Users can display the calendar they want with a taxonomy filter. If I use filters in my calendar, the view displays only the events related to my filter selection.

But when I want to export the ical to outlook after using filters, the view generates a custom link (with the filters) but the exported calendar displays all events in Outlook, not the one related to the filters.

The link of ical : webcal://www.domain.fr/?q=calendar-node-field-date-r-alisation/ical/2016...&field_tags_tid_op=or&field_tags_tid[0]=1

I want my users to filter what they want and export the result in outlook. Is it possible ?

Comments

Tourista created an issue. See original summary.

coredumperror’s picture

Hmmm, I've never encountered a problem like this before. My first thought is that it seems unlikely that Date iCal could be at fault here, considering that the filtering mechanism is done by Views itself, rather than Date iCal. It may be possible that Date iCal is at fault, but I'm afraid I don't currently have time to test that, as I'm working on a very high priority project right now that I can't currently take time off from for my Drupal modules.

However, I think in this case, the most likely culprit is a configuration error. The first thing I'd suggest is to confirm that your Views display for the iCal feed is configured the same way as the regular calendar (where the filters work). I think it's likely that the filter configuration is subtly different on the iCal feed.

Tourista’s picture

I'm not sure I was clear in my first post (sorry for my bad English :()

My problem is quite simple :
my views in drupal work, with and without any filters.

I can export it (with ical feed) into outlook and all events are exported.

But if I use exposed filters and use the generated link for Ical, it exports all the events without any filtering.

http://culture.aloe-alain.fr/?q=calendar-node-field-date-r-alisation/month
When you export this ical (webcal://culture.aloe-alain.fr/?q=calendar-node-field-date-r-alisation/i...), it exports all the events.

When you use filters (in sidebar), it generates a new link for ical but this new link exports all events too without taking care of used filters.
http://culture.aloe-alain.fr/?q=calendar-node-field-date-r-alisation%2Fm...
> the generated link for ical is : webcal://culture.aloe-alain.fr/?q=calendar-node-field-date-r-alisation/i...
This link should export only "tag 2" events but it doesn't.

coredumperror’s picture

You explained yourself well enough the first time; I understand your problem. I'm just saying that I don't think Date iCal can be at fault, here.

Views is the only one that cares about filters. Date iCal just grabs the nodes that Views sends it and converts them to iCal. Date iCal itself does not perform the filtering.

That's why I think this is a configuration error. You may have overridden filtering settings on your iCal feed display that are making it slightly different from the settings on your regular calendar display.

geek-merlin’s picture

Category: Bug report » Support request
Status: Active » Postponed
Issue tags: -exposed filters, -outlook, -export

> That's why I think this is a configuration error. You may have overridden filtering settings on your iCal feed display that are making it slightly different from the settings on your regular calendar display.

I can confirm that ical export can be filtered IF the filters are set up identically.

So making support and postponing for now.

Tourista’s picture

Yes, I forgot to update but it works, #4 and #5 are right.