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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Custom Data: Multiple records...Image question
Pages: [1]

Author Topic: Custom Data: Multiple records...Image question  (Read 714 times)

itowler

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
  • CiviCRM version: 3.3.3
  • CMS version: Drupal 6.20
Custom Data: Multiple records...Image question
April 20, 2009, 12:10:50 pm
I have a custom data set titled Awards, that pertains to individuals, and can have multiple records.  One of the fields is titled "Awards" and is a selector box with the various awards that can be earned.  Everything is working fine, but I would like to add an image of the award so that it appears next to the Fieldset when shown in the dashboard.  Can this be done?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom Data: Multiple records...Image question
April 20, 2009, 05:33:51 pm
I'm not sure where you want this image to display (you mentioned "dashboard" - but I'm thinking you mean the contact summary page(s)) ??

In any case, I think you'll need to do some coding to make this happen. An approach that occurs to me is to create a second custom field in your Awards set - which is "view only" and is populated via php code (probably using a post hook). However I'm not aware of anyone using the mechanism with a custom field of type File - so you'll be pioneering a bit :-)
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Custom Data: Multiple records...Image question

This forum was archived on 2017-11-26.