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) »
  • Creating an Event Page with ALL the current events listed
Pages: [1]

Author Topic: Creating an Event Page with ALL the current events listed  (Read 1974 times)

sewen

  • Guest
Creating an Event Page with ALL the current events listed
October 14, 2007, 09:21:35 am
Hi,

We have several hundred events that we want to put into civiEvent and then list on a single page, one line per event.  Up to now I have created menu links to a single event, then see how Joomla handles the link, and then use that link to add the event to an Event page (with ALL the Current Events listed).  Is there a faster way of doing this????

Thanks.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Creating an Event Page with ALL the current events listed
October 14, 2007, 03:42:57 pm
If you can expose an RSS feed on a Joomla page -then that might be the best bet since CiviEvent an "publish" a feed for all upcoming public events. To see this feed in your browser- go to Manage Events and click the RSS icon.

If this doesn't work - you could try using the APIs. This works nicely in Drupal - but not sure about using PHP to create a page in Joomla! The Drupal example is here:

http://wiki.civicrm.org/confluence/display/CRMDOC/List+of+Upcoming+CiviEvents+or+Feed+of+Events
Protect your investment in CiviCRM by  becoming a Member!

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Creating an Event Page with ALL the current events listed
October 20, 2007, 02:32:10 pm
I'm trying to get the RSS feed working, but am not getting anything. I have one event currently active. When I click the ical link, I get the xml that includes the one event, so I know that's working. But when I click the RSS 2.0 link, it brings me to the standard xml/feed page in Firefox, but with no data. Subscribing to the feed through other software shows nothing.

Am I missing some setting that toggles that feature on and off?
-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Creating an Event Page with ALL the current events listed
October 21, 2007, 12:11:42 am


Brian:

can u reproduce this on our demo server

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Creating an Event Page with ALL the current events listed
October 21, 2007, 12:03:34 pm
It appears the problem may be Joomla specific.

If I go into the Joomla demo > Administer > Manage Events, and click the RSS feed button, it's blank (there are two future events that should show up). But when I do the same in the Drupal demo, I get the feed correctly.

-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Creating an Event Page with ALL the current events listed
October 21, 2007, 02:37:49 pm

Can you please file an issue and we'll fix this in a 2.x release. if important, please consider investigating the issue and contributing a patch

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Creating an Event Page with ALL the current events listed
October 23, 2007, 09:27:21 pm
Well I figured out the specific problem. Then went into Jira to add the issue, and found it was already listed:
http://issues.civicrm.org/jira/browse/CRM-2192

The link to the event page in the xml has a couple instances of the ampersand without the ascii code, and it breaks the RSS. However, this issue in Jira is marked complete, though the Smarty escape doesn't help the issue in the link field.

So the issue remains in Joomla. The reason it apparently affects Joomla and not Drupal is due to how CiviCRM builds the url string in Joomla. This is the line in the template file that creates the problem:

Code: [Select]
<link>{crmURL p='civicrm/event/info' q="reset=1&id=`$event.event_id`"}</link>
-Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Creating an Event Page with ALL the current events listed
October 24, 2007, 12:13:01 am

Thanx for the debugging help. this is now fixed and will be part of the next 1.9 release happening later today

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Creating an Event Page with ALL the current events listed

This forum was archived on 2017-11-26.