Where's the option(s) do disable iCal on the block and all other Event pages?

Comments

killes@www.drop.org’s picture

Status: Active » Fixed

There's no such option.

OneTwoTait’s picture

Category: support » feature

It would be nice to not have to remove the iCal buttons manually. :)

In my case, I would be really surprised if over 5% of my viewers used iCal.

frank ralf’s picture

Just hide the <div class="ical-link"> with some CSS:

div.ical-link {
  display: none !important;
}

That will do the trick.

Bananoide’s picture

for me deleting -> 'event_ical_link' => array('arguments' => array('path' => NULL)), <- at the event.module did the trick. Don't know if this actually screws everything up further in time though.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nonprofit’s picture

Hiding the link in the css is generally a bad idea as those elements are still rendered. Thus you suffer the performance hit and reap none of the benefits. A better approach is to disable the Calendar iCal module (yoursite.org/admin/build/modules).

Blessings!

-NP

frank ralf’s picture

AFAIK the link will be shown by the Event module even without the Calender iCal module present.

But you are right, instead of hiding the element with CSS you should override the output on the theme level.

Cheers,
Frank

dbeall’s picture

Yeah, I don't want the ical thing either, most people don't know what it is for anyway.
Using the 6.x-2.x-dev event module, downloaded 11/27/2009.

I just removed this at line 82 from the event.module
'event_ical_link' => array('arguments' => array('path' => NULL)),

Then clear the cache.
I know this issue is closed, but a google search led me here.