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 »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Title and formatting of CiviEvent rss feed
Pages: [1]

Author Topic: Title and formatting of CiviEvent rss feed  (Read 1983 times)

webcomm

  • Guest
Title and formatting of CiviEvent rss feed
March 20, 2008, 03:34:53 pm
Is it possible to change the title that appears at /civicrm/event/ical?reset=1&page=1&rss=1   to something other than "CiviEvent Public Calendar".

Also, the summary formatting is bad.  The "When" and "Where" information runs together.  And I would like to add a link to my site to the summary.

If this feed doesn't have the flexibility I'm looking for, are there other ways of generating an Event feed?

Thanks,
Ryan

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Title and formatting of CiviEvent rss feed
March 21, 2008, 08:40:22 am
You'll want to create a custom .tpl file in your custom templates directory (not advisable to edit the CiviCRM core templates). There is a wiki page about this here: http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in+and+Profile+Screens

But basically:
The file that you want to copy over to your custom templates folders is at this path:

civicrm_root/templates/CRM/Core/Calendar/Rss.tpl

So you need to create a custom templates folder (preferrably outside the civicrm directory -- making a folder in your web root is good), then you need to recreate the path by creating the following directories in that custom folder:
CRM/Core/Calendar/ and then copy the Rss.tpl file there.

Then make sure you set the custom templates path in Administer CiviCRM > Global Settings > Directories

This will have CiviCRM look for your custom template first and render that file instead.

aspagarino

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 10
  • San Diego Joomla
    • California Center for Sustainable Energy
  • CiviCRM version: CiviCRM 4.3
  • CMS version: Drupal 7
Re: Title and formatting of CiviEvent rss feed
September 09, 2008, 09:42:41 am
Emily... thanks for that! I actually followed your instructions and it works fine. I do have a general question about RSS. Is there any way to change the links from the RSS from opening in a new browser window?
« Last Edit: September 15, 2008, 01:29:43 pm by aspagarino »
Andres

Open Source is Green

sungoddess

  • Guest
Re: Title and formatting of CiviEvent rss feed
January 01, 2009, 07:01:43 am
Thank you so much for this post Emily... was very, very helpful!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Title and formatting of CiviEvent rss feed

This forum was archived on 2017-11-26.