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 Profiles (Moderator: Dave Greenberg) »
  • Custom Activity Report Profiles
Pages: [1]

Author Topic: Custom Activity Report Profiles  (Read 916 times)

bragaidan

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
    • Comunidad Connect
  • CiviCRM version: 4.0.8
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.54
  • PHP version: 5.3.6
Custom Activity Report Profiles
February 07, 2012, 08:07:55 pm
I am looking for some input on how to capture activity reports from our staff in Nicaragua.  One of our major programs involves Sustainable Tourism where we have groups come down for multiple weeks for service work and tourism activities.  We will be using CiviEvents for managing most aspects of planning trips and capturing volunteer information and payments.  Each event has multiple activities which are led by our staff onsite.  Upon completion of said activities they provide critical information for us to measure the social and environmental impacts on the local community and our volunteers.  Right now that is a word form, which is unstructured and rudimentary.  I am trying to figure what the best method for capturing this information is, I envision developing a profile with custom data, but not quite sure how to classify it as it will be an activity directly related to an event and to the volunteers that are registered for that event.  Any input would be greatly appreciated.
Thanks,B

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: Custom Activity Report Profiles
February 07, 2012, 11:39:49 pm
So really you want them to log in to the site, and see some kind of form where they enter the data required? And you want to process that data into CiviCRM, right?

What I have done in a project with a case a little bit like this is:
  • create a profile where the user can log in and select the organization (in your case the event) that is required
  • use the hook buildForm to add additional (custom) data to the form
  • create a specific activity type for the reporting back (in your case something like feedback on activity) and add custom data to that specific activity type
  • use the postProcess hook to get the data from the profile and create the activity using the API

Does that make sense? Are you familiar with profiles, hooks and API?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Custom Activity Report Profiles
February 08, 2012, 08:34:22 pm
i would also check out what the webform/civicrm module can do for you as it creates activities as one option and collects any other data you may want
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

bragaidan

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
    • Comunidad Connect
  • CiviCRM version: 4.0.8
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.54
  • PHP version: 5.3.6
Re: Custom Activity Report Profiles
February 15, 2012, 09:07:27 am
Great, thanks for the input fellas.  I am following what you are saying Erik, however I am not familiar with hooks and the API.  I would really like to keep all of this information inside of Civi moving forward.  I am sure I can search and find some info, but if you have some recommended material for me to do some research, then that would be welcomed.

Also, I will take a look at the webform module.

bragaidan

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
    • Comunidad Connect
  • CiviCRM version: 4.0.8
  • CMS version: Joomla 1.7
  • MySQL version: 5.1.54
  • PHP version: 5.3.6
Re: Custom Activity Report Profiles
February 15, 2012, 09:12:28 am
Doesnt look like webforms work with Joomla, which is the CMS we are using.  Or am i mistaken?

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: Custom Activity Report Profiles
February 15, 2012, 11:11:09 pm
No, you are right. Webforms is a Drupal module.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Custom Activity Report Profiles

This forum was archived on 2017-11-26.