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 Profiles (Moderator: Dave Greenberg) »
  • A Group Icon (sprite) in member profile
Pages: [1]

Author Topic: A Group Icon (sprite) in member profile  (Read 776 times)

robbiemc

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
A Group Icon (sprite) in member profile
May 14, 2012, 03:16:30 am
Hi

Is it possible to have a different crm-icon (sprite) based on a group...?

I wish to show a certain type of membership by using a different icon in the search results page. The search itself would be a mixture of professional members and associates with the professionals having a different icon which would show to the left in the results page.

Cheers in advance.

Robbie

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: A Group Icon (sprite) in member profile
May 14, 2012, 03:31:54 am
You can do that based on contact type, but not on group. Would it solve your need?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: A Group Icon (sprite) in member profile
May 14, 2012, 03:34:03 am
For showing an icon based on group or membership, you could customize the template or use jQuery to adjust the page.
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.

robbiemc

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Re: A Group Icon (sprite) in member profile
May 15, 2012, 01:11:34 am
Hi

Unfortunately it has to be based on a group as we have different membership types and if I applied a specific sprite to professional membership it would still show if they expired but continued with associatte membership.

Sorry, I have no idea how to customise the template or use jQuery...any pointers?

Or

Is it possible to include an image/icon in a search results page...I did try put only got it to show the image path.

Cheers

Robbie

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: A Group Icon (sprite) in member profile
May 15, 2012, 02:32:53 am
Quote from: robbiemc on May 15, 2012, 01:11:34 am
Sorry, I have no idea how to customise the template or use jQuery...any pointers?

How to Customize CiviCRM Pages with jQuery

Customizing CiviCRM Screens
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.

robbiemc

  • I post occasionally
  • **
  • Posts: 66
  • Karma: 0
  • CiviCRM version: 4.5.0
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.37
  • PHP version: 5.3.28
Re: A Group Icon (sprite) in member profile
May 15, 2012, 09:24:48 am
Hi Hershal

Many thanks...will give this a go.

Robbie

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • A Group Icon (sprite) in member profile

This forum was archived on 2017-11-26.