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) »
  • Group hierarchy: Not exposed properly on the interface?
Pages: [1]

Author Topic: Group hierarchy: Not exposed properly on the interface?  (Read 942 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Group hierarchy: Not exposed properly on the interface?
September 24, 2010, 09:10:37 am
Hi,

Just out of a training, where we have a 3 levels group structure (around 70 groups in total),
The group hierarchy is something like this:
- Media
-- Press
--- National
--- European
-- TV
-- Blog
...
- Members
...
- Institutions
-- European
--- Parliament
...
-- National

So far so good, and they really use it and do targeted mailing

However, both for the search, advanced search, the mailing...
You have a flat list, so

Blog
European
European
Institutions
...

Ok, obviously you can't know that the first European contains the European Journalists, and the second for the european public servants.

The workaround I have been using for a while is to put prefixes (Media - Euro, Institution - Euro) as groups name, but it's still quite un unser friendly to have a flat list of quite a few groups, and feels quite a bit clunky.

Am I the only one having this issue? How do you manage when you start having quite a few groups?

Asking otherwise: Any specific reason we don't have tree like selection for the group selections?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Group hierarchy: Not exposed properly on the interface?
September 24, 2010, 10:07:34 am
A "tree selection" interface was implemented quite a  while ago using dojo. However it never worked very well. The code is still in place in templates/CRM/Contact/Form/Search/BasicCriteria.tpl - but suspect it won't work at all now (it's only enabled by a configuration file setting which never gets set true).

My guess is that hierarchical groups is not a very heavily used feature - since we haven't had folks complaining and / or stepping up to implement a jquery version of this. Maybe after the 3.3 upgrade of jquery (to v1.4) - this might be a good project for someone to take on :-)
Protect your investment in CiviCRM by  becoming a Member!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Group hierarchy: Not exposed properly on the interface?
September 26, 2010, 09:09:31 am
1) Part of the issue is the default config. At least with the tags as it by default only 1st level tags, people don't realise that this feature exists.

2) Kyle unblocked me, by suggesting to use the same system as the tag tag for the civimail selection (eg tree with checkboxes).

Anyway, bit of a chicken and egg problem: as the group hierarchy isn't properly exposed in the UI, you don't use much the hierarchy, and as you don't use it you don't need to expose it.

I'd argue that as soon as you got a few handful of groups, you'd be better using a hierarchy.

How many groups do you have on your installs ?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Group hierarchy: Not exposed properly on the interface?
September 26, 2010, 09:13:50 am
On our current project at De Goede Woning I would expect around 25-50 groups for the first phase. Some of them will have a hierarchy, for example a group of house buyers and withing that the type of support/discount they got when buying.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Suggestion on the interface
October 18, 2010, 02:29:04 pm
Was was bugging me was the single select containing all the groups without taking into account the hierarchy (and all the tags)

Say you got these groups:

- Journalists
-- Human rights
-- International
- supporter
-- members
-- human rights

What about instead having

in : + big list
-- (any group)
- human rights
- Human rights
- International
- Journalists
- members
- supporter

(note that you don't have any idea of what the human rights is about without the parent)

Having the group select split up based on the first level

in Journalist
-- (don't filter)
-- Human rights
-- International

in supporter
-- don't filter)
-- members
-- human rights

If you select any of the item in one of the group, it hides the others (eg you can have one and only one group on simple search)

Already a step in the right direction, isn't it ?

What do you think ?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Group hierarchy: Not exposed properly on the interface?

This forum was archived on 2017-11-26.