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) »
  • Summary of Event Listings on frontend
Pages: 1 [2]

Author Topic: Summary of Event Listings on frontend  (Read 7201 times)

vqcdesigns

  • Guest
Re: Summary of Event Listings on frontend
July 01, 2008, 10:10:55 pm
I have another question about the RSS Feed generated by CiviEvent.  What file(s) control the RSS feed generation and display?  I am trying to remove some information that is displayed through the RSS feed. 

If you go to this link http://secure2.vqcdesigns.com/~attorney/index.php?option=com_content&view=article&id=93&Itemid=70 and look at the section that says:

CiviEvent Public Calendar
Listing of current and upcoming public events.

Can I remove this verbiage or change the text in any way?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Summary of Event Listings on frontend
July 02, 2008, 09:01:35 am
RSS output is formatted by this template (and you can create a custom version of it using the "Customizing CiviCRM Screens" instructions in the Develop section of the wiki):

templates/CRM/Core/Calendar/Rss.tpl
Protect your investment in CiviCRM by  becoming a Member!

vqcdesigns

  • Guest
Re: Summary of Event Listings on frontend
October 06, 2008, 02:49:33 pm
I just got around to modifying the templates for the RSS feed display and it is very confusing.  I have a couple questions based off the display on this page here: http://secure2.vqcdesigns.com/~attorney/index.php?option=com_content&view=article&id=93&Itemid=70.  If you look at the first event posting 'Key Personnel Conference'.

1) How do I add a line break to separate the 'When' and 'Where' lines?  I want them on separate lines.

2) Is it possible to add the 'Event Summary' information on this page and how?

Thanks for the help.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Summary of Event Listings on frontend
October 06, 2008, 05:56:21 pm
Not quite sure what the connection is between the page linked below and the output from Rss.tpl ?? That said ...

RSS feeds are meant to be read by feed-reader applications (or a browser like FireFox "acting as a feed-reader"). The RSS standard does not really support formatting of the text the way HTML / CSS does - altho I understand there are some tricks you can do to apply css to a feed.

There are some "hackish" ways to add HTML tags by including them in the feed as character entities. So, for example you could add this line in between the When and Where parts of Rss.tpl:

Code: [Select]
<br />

However, you'd need to verify that the output still is "valid RSS" / works for the RSS readers you care about.

Regarding Event Summary - it should be included in the <description> section of the output.  It is in my testing (CiviCRM 2.1).
Protect your investment in CiviCRM by  becoming a Member!

vqcdesigns

  • Guest
Re: Summary of Event Listings on frontend
October 06, 2008, 08:34:32 pm
That worked like a charm. I am only using the RSS feed feature to display the events on the actual website so as long as it displays correctly on the website, then that is fine.  Thanks again for your help.

One other thing, if you notice at that aforementioned URL, it displays the country, United States, after the address information; is there anyway to remove this just from this display?  If yes, how do I go about and do that?  Thanks!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Summary of Event Listings on frontend
October 07, 2008, 10:15:55 am
Administer CiviCRM >> Global Settings >> Address Settings

Address Display block, remove the {contact.country} token.

NOTE: This will remove the "country" from the address display block on the  Contact Summary screens as well.
Protect your investment in CiviCRM by  becoming a Member!

sungoddess

  • Guest
Re: Summary of Event Listings on frontend
January 08, 2009, 04:45:46 am
Quote from: Donald Lobo on July 01, 2008, 11:31:16 am

There was an event in chinese (ID: 23) which was causing the feed errors. I disabled that event, and the feed validates fine

lobo


Hi there,

The site I work on is based in Barbados. I've set the default country as Barbados, but am having trouble including the parishes/provinces into the site. I create custom data groups, and what not, but I have not successfully done this yet.

However, my problem with the RSS feeds is that they only publish events that are based in the US. When I set the location as Barbados, it immediately disappears from the feed or it won't update.

I need some help with this...

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Summary of Event Listings on frontend
January 08, 2009, 05:20:50 am
sungoddess:

Can you replicate this on http://sandbox.civicrm.org

Kurund
Found this reply helpful? Support CiviCRM

sungoddess

  • Guest
Re: Summary of Event Listings on frontend
January 08, 2009, 06:28:12 am
I use Joomla 1.5 for this site, should I go ahead and try it in the sandbox?

sungoddess

  • Guest
Re: Summary of Event Listings on frontend
January 08, 2009, 06:47:58 am
I had a look at the sandbox, and cannot find a way to replicate this.

I'm seeing a lot of foreign language characters and no way that I can see to set the default country to another. I need help here.. never used CiviCRM in a Drupal framework.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Summary of Event Listings on frontend
January 08, 2009, 07:48:24 am
Fixed language on http://sandbox.civicrm.org.

Kurund
Found this reply helpful? Support CiviCRM

sungoddess

  • Guest
Re: Summary of Event Listings on frontend
January 08, 2009, 05:50:25 pm
Hi Karund...

No I cannot duplicate it on the sandbox...

I set up the default country as Barbados, and literally copy and pasted the info into the corresponding fields. And it all updated nicely.

On my installation, the RSS feed updates, because I see the new item in my Apple Mail RSS reader. But on the site, the RSS takes forever to update. Not sure why... I am assuming it is a caching issue on the server side, although I have toggled the cache settings on the module displaying the rss feed... wish I knew a way to force them to update.

Thank you for your help.

sungoddess

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Summary of Event Listings on frontend

This forum was archived on 2017-11-26.