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 CiviEvent (Moderator: Yashodha Chaku) »
  • "New Smart Group" doesn't allow creating mailing list from Find Participants
Pages: [1]

Author Topic: "New Smart Group" doesn't allow creating mailing list from Find Participants  (Read 7896 times)

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
"New Smart Group" doesn't allow creating mailing list from Find Participants
May 14, 2013, 03:51:18 pm
When using the "Find Participants" search (http://sandbox.drupal.civicrm.org/civicrm/event/search), the "New Smart Group" option doesn't allow you to specify that it's a mailing list.

I would have filed a bug for this, but after discussing with my client, it made me wonder - now that Advanced Search can output results as Participants, Memberships, etc., maybe it's time to refactor so that there's no longer a separate Participant Search?  Instead, when you select "Find Participants", instead it can display the Advanced Search, but a) hiding all the search fields except those under "Event", and b) setting the "Display Results As" to Participants?

I think that if we took this approach, we could get rid of a lot of code that became redundant when we added the ability to display Advanced Search results as something other than contacts.  What do others think?
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: "New Smart Group" doesn't allow creating mailing list from Find Participants
May 14, 2013, 04:08:19 pm
I love the idea.

However, normal human beings can find their way in the participant search and, for instance, add a hook to inject a new column to display an extra custom field in the result or hide the price if all the participants are on free events or force to list more than 50 and add a js sort+filter or use a .extra.tpl to add a "click on the status to ajax set to attended" ...

Doing the same kind of customisation on the top of advanced search? Not saying that it's not possible, but likely harder and the chances of side effect of screwing up the advanced search when its list something else than participants is not negligible.


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

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: "New Smart Group" doesn't allow creating mailing list from Find Participants
May 14, 2013, 04:10:14 pm

Note that they share a lot of the code. basically advanced search just calls the participant search code and templates in that mode

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • "New Smart Group" doesn't allow creating mailing list from Find Participants

This forum was archived on 2017-11-26.