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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Mass action on related contacts
Pages: [1]

Author Topic: Mass action on related contacts  (Read 1011 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Mass action on related contacts
September 30, 2009, 03:15:06 am
Hi,

Want to do things like send or export to all the related contacts to an organisation. I can't use the advanced search, because it can fetch only related contacts with one specific relationship type (eg only the employees of), but I need to take all of the related contacts, no matter what type of relationship.

I did try to add the action block html code (a subset of) in the related contact template, can check/uncheck, but when I try to do the action, it doesn't take into account any of the contact I selected.

The only difference I see is that I don't have the qfKey hidden field. Is it why it doesn't work and is there a way to generate it  ?

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: Mass action on related contacts
September 30, 2009, 08:13:28 am

1. was the related contact template a form?

2. did u add the elements via quickform? QF filter all POST values and exposes values to the system it knows about

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

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Mass action on related contacts
September 30, 2009, 01:23:40 pm
Quote from: Donald Lobo on September 30, 2009, 08:13:28 am

1. was the related contact template a form?

nope, that s the standard tab

Quote from: Donald Lobo on September 30, 2009, 08:13:28 am

2. did u add the elements via quickform? QF filter all POST values and exposes values to the system it knows about


nope. is there a way of avoiding qf ? or calling it from within  a template ?
-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: Mass action on related contacts
September 30, 2009, 01:33:38 pm
Quote from: xavier on September 30, 2009, 01:23:40 pm
nope. is there a way of avoiding qf ? or calling it from within  a template ?

I dont think it is possible today. But since this is software, anything can be done :)

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

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Mass action on related contacts
October 01, 2009, 11:47:28 am
Quote from: Donald Lobo on September 30, 2009, 01:33:38 pm

I dont think it is possible today. But since this is software, anything can be done :)


You meant free software, doubt than changing anything on a closed source is that doable ;)
-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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Mass action on related contacts

This forum was archived on 2017-11-26.