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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Event listing
Pages: [1]

Author Topic: Event listing  (Read 1728 times)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Event listing
September 11, 2008, 02:58:25 am
I have a page on my site (the front page actually) which lists all events available to enrol in. After upgrading to 2.1 the links don't work. From the line below - it doesn't seem to compile the second part of the link - ie.  'reset=1&id='.$event['id'])

I'm not sure what the 'l' function is - is it php or is it civi?

   if ($ParticipantList){
$display .='&nbsp -  &nbsp <i>'. l(" Participants", 'civicrm/event/participant',array(), 'reset=1&id='.$event['id']).'</i><br />';
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Event listing
September 11, 2008, 03:07:38 am
Ah - all is explained here - http://wiki.civicrm.org/confluence/pages/diffpages.action?pageId=12679&originalId=8716315

I think this page is a fairly common bit of code from forum discussions I have seen so I expect other people will hit it. I can't see a logical place to mention it in the upgrade documentation though.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

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: Event listing
September 11, 2008, 04:35:55 am
Drupal made changes to l()in 6.x, so it's not related to CiviCRM. Hence i don't think we should include it in CiviCRM Upgrade documentation.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Event listing

This forum was archived on 2017-11-26.