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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Smart Groups with visibility set to 'public pages' won't work as expected
Pages: [1]

Author Topic: Smart Groups with visibility set to 'public pages' won't work as expected  (Read 499 times)

Osvaldo

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • Open source rocks!
Smart Groups with visibility set to 'public pages' won't work as expected
September 03, 2014, 10:19:35 am
When a group's visibility is set to 'public pages', and you have a profile for contacts to edit which groups they want to join or opt out of, the groups the contact is already a member of show their checkbox checked; but if you set smart group's visibility to 'public pages' its checkbox will show unchecked even if the contact is already a member of that smart group. Once the contact manually checks the box and saves, then the smartgroup's checkbox shows up as checked. This creates confusion for contacts because the list of mailing lists they belong to is inaccurate. I've setup a smart group and profile in demo.civicrm.org to test this out: http://drupal.demo.civicrm.org/civicrm/profile/edit?gid=14&reset=1.
Osvaldo Gomez
Upleaf LLC

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: Smart Groups with visibility set to 'public pages' won't work as expected
September 03, 2014, 10:31:45 am

smart groups are dynamic queries and hence the info is not known when the page is displayed. Recent versions use a cache which make it accurate most of the time (or so we hope), but those changes have not percolated to the profile pages

in general smart groups should not be exposed on profile pages and should just be query based (IMO)

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

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Smart Groups with visibility set to 'public pages' won't work as expected
September 09, 2014, 01:37:10 am
Presumably if a user checks a checkbox to join a smart group then their membership of that group is not smart, i.e. it is not defined by the search criteria which define the smart group. Which sort of weakens the whole premise of having a smart group in the first place.

My advice - keep smart groups for admin use and don't let users near.
Graham Mitchell
http://mc3.coop

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Smart Groups with visibility set to 'public pages' won't work as expected

This forum was archived on 2017-11-26.