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) »
  • Color-coded legend for Drupal calendar views
Pages: [1]

Author Topic: Color-coded legend for Drupal calendar views  (Read 4077 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Color-coded legend for Drupal calendar views
June 29, 2011, 04:43:05 am
I have come across instructions at http://drupal.org/node/855224 that describe how to add a color-coded legend on the standard Drupal calendar view. These instructions tie the legend to taxonomy terms.      Is there any way to accomplish color coding, using CiviCRM event types instead of taxonomy terms?

What I already have: On the CiviCRM events view, I have an exposed filter that allows the visitor to choose which event types are displayed on the monthly calendar.

What I would like to see:  Each event type would be associated with a different color, so any events of that type would be displayed in the appropriate color.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Color-coded legend for Drupal calendar views
June 29, 2011, 08:09:58 am
This can be done by customizing your View template files and then using a bit of PHP code.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Color-coded legend for Drupal calendar views

This forum was archived on 2017-11-26.