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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • hacking summary page so it shows some Smart Groups
Pages: [1]

Author Topic: hacking summary page so it shows some Smart Groups  (Read 1101 times)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
hacking summary page so it shows some Smart Groups
June 11, 2008, 03:13:33 am
Hi - in the section on the Summary Page under the Contacts name ( and the Edit VCard Print Delete buttons) where it shows people's Tags and their Source and Job Description - can we get it to show certain Smart Groups if the person belongs to them?
If so where does the hacksaw get applied and any hints on how to make a Smart Group be listed if that person is in that group?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

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: hacking summary page so it shows some Smart Groups
June 11, 2008, 06:03:58 am
I guess you will have to do some hacking for this. Retrieve smart groups using api and then assign it to template for display.

kurund
Found this reply helpful? Support CiviCRM

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: hacking summary page so it shows some Smart Groups
June 11, 2008, 11:27:34 am

This will be easier in 2.1 since we cache all smart groups in a table. The big issue is the cache may be invalid and/or not yet set (depending on when/how you do it). If you are willing to live with results which are accurate most of the time, chris should be able to add this functionality. We might add it in 2.2 with suitable wording so as not to confuse users

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

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: hacking summary page so it shows some Smart Groups
June 11, 2008, 01:57:48 pm
Thanks. We are just trying to come up with some simplified approach so when any contact is 'looked at' one can instantly see if they are a member etc. The other thought I had - given how many tabs we have - would be to have the tabs show differently (maybe full as opposed to greyed out) whenever they actually contain some data. That way one can see at a glimpse if that person has information in these tabs, rather than having to click through them to see what exists.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • hacking summary page so it shows some Smart Groups

This forum was archived on 2017-11-26.