CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • i-cal how to disable?
Pages: [1]

Author Topic: i-cal how to disable?  (Read 1038 times)

avanti09

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
i-cal how to disable?
August 21, 2009, 02:19:06 am
Hi, I am using 2.2.5 in a Joomla 1.5.8 site that is live.

I had considered using i-cal, then changed my mind but I don't know how to disable it.... all I did was click on the i-cal icon.

The text and link to the i-cal function shows up in test registration emails, and it links to one of the admin pages. How do I get it out of the email function, and disable it? I don't see anything in the registration email settings, I have tried to find it in PHPMyAdmin (in the database).

Thanks for your help. Please let me know if I haven't explained this clearly enough.


Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: i-cal how to disable?
August 21, 2009, 02:45:40 am
There are no UI settings for disabling the iCal, however you can get rid of the code that displays the iCal link in the email by applying the following patch :
Code: [Select]
Index: CRM/Event/Form/Registration/ReceiptMessage.tpl
===================================================================
--- CRM/Event/Form/Registration/ReceiptMessage.tpl (revision 23295)
+++ CRM/Event/Form/Registration/ReceiptMessage.tpl (working copy)
@@ -55,8 +55,6 @@
 {ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}
 {/if}
 
-{capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1}{/capture}
-{ts}Download iCalendar File:{/ts} {$icalFeed}
 {if $email}

You also might want to use custom template to achieve this. For more details, refer : http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

avanti09

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Re: i-cal how to disable?
August 21, 2009, 06:58:25 am
Thank you so much! I will try it tonight. I really appreciate your help, thank you!

avanti09

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Re: i-cal how to disable?
August 22, 2009, 12:45:26 am
Hi,

Unfortunately, the patch you gave is exactly the code that is in that file. I tried commenting out the code, but it still shows in the email, with the comment marks!

I looked at the template creation wiki link, but I am not sure that I have the skill to carry that out.

Any further suggestions would be very much appreciated. I'm going to try creating a new event, and see if the ical still shows up in email. If it doesn't I'll just modify that event and delete the first one.

Thank you for your help, if you can think of any other workarounds, please let me know.



Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: i-cal how to disable?
August 23, 2009, 04:10:01 am
Quote
I tried commenting out the code, but it still shows in the email, with the comment marks!

You should remove those lines of code instead of commenting them out.
- sign stands for line removal.

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

avanti09

  • I’m new here
  • *
  • Posts: 8
  • Karma: 0
Re: i-cal how to disable?
August 23, 2009, 10:11:43 pm
Thank you ....... I deleted those lines, and everything is fine now. Thank you so much for your help!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • i-cal how to disable?

This forum was archived on 2017-11-26.