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) »
  • Pulling data from a search
Pages: [1]

Author Topic: Pulling data from a search  (Read 526 times)

Kidgar

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
Pulling data from a search
January 01, 2011, 03:15:45 pm
Hi,

I have a custom profile with a users email in it. I am making a custom php file for listings.php and I need it to pass the variable for all searched results emails to another page. I have tried for a while now with no luck to retrieve the emails that come up.

Am I looking in the wrong php file? Do I have to do something with the tmp file? Is there an easy way to access the results variables after a user searches?

Thank you all for any help you can provide me. I feel as though I've been banging my head against a brick wall for the last two days trying to figure this out.

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: Pulling data from a search
January 02, 2011, 08:41:09 am

You can customize the page: templates/CRM/Profile/Page/Listings.tpl and extract the email from each row and do the needful. Might want to read:

http://wiki.civicrm.org/confluence/display/CRMDOC32/Customizing+CiviCRM+Screens
http://en.flossmanuals.net/CiviCRM/DevelopIntro

if you have any questions etc might be easier and quicker to chat with folks on IRC (tomorrow)

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

Kidgar

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
Re: Pulling data from a search
January 04, 2011, 07:45:21 am
Thank you for the article. I have been reading around, and have come to this site before, but not this tutorial. I will give it a look over and see what I can do. Are there any other times that the group gets together for IRC?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Pulling data from a search

This forum was archived on 2017-11-26.