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 Drupal Modules (Moderator: Donald Lobo) »
  • View2, Custom Fields, Contact vs. Membership View
Pages: [1]

Author Topic: View2, Custom Fields, Contact vs. Membership View  (Read 2718 times)

mariagwyn

  • I post frequently
  • ***
  • Posts: 149
  • Karma: 4
  • CiviCRM version: CiviCRM 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.2.14
  • PHP version: 5.0.91-50-log
View2, Custom Fields, Contact vs. Membership View
July 09, 2009, 06:15:51 pm
I am trying to set up a view which displays Membership_Type, as well as a few custom contact fields.

If I create a view of "type CiviCRM Contacts" I can see the custom fields. But I cannot access and CiviMember fields, especially membership_type.

If I create a view of "type CiviCRM Memberships" I can see all the contact fields, EXCEPT the custom fields.

Nor, if I use a 'relationship' (in Views) does this seem to make the fields accessible in either view type.

Any ideas on this?
Maria

Update: I can, somewhat clumsily get around this by using the Exhibit module.  Basically, for an exhibit, I simply include the feeds from multiple views, which in effect creates the display I want for users.  It isn't exactly clean, but it does work.  See sample: http://dev.mariagwyn.com/content/member-list-test-1.

It would be nice however, to have this work for non-exhibit views.
« Last Edit: July 09, 2009, 06:48:42 pm by mariagwyn »

jalama

  • I post frequently
  • ***
  • Posts: 176
  • Karma: 22
    • Rooty Hollow LLC
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6 and 7
  • MySQL version: 5.1
  • PHP version: 5.2.5 and 5.3
Re: View2, Custom Fields, Contact vs. Membership View
July 18, 2009, 01:18:50 pm
This patch fixes the issue with membership fields showing up in the contact views.  http://issues.civicrm.org/jira/browse/CRM-4759

I was not able to re-create the issue where custom fields do not show up in Membership views.  I'm on Drupal 6.13, Views 2.2.5 and CiviCRM 2.2.7
http://www.rootyhollow.com

DanilaD

  • I post occasionally
  • **
  • Posts: 93
  • Karma: 11
Re: View2, Custom Fields, Contact vs. Membership View
July 22, 2009, 08:25:55 am
mariagwyn,

Please check that you have specified database prefixes in your settings.php correctly - see http://wiki.civicrm.org/confluence/display/CRMDOC/Views2+Integration+Module

Regards,
Danila

mariagwyn

  • I post frequently
  • ***
  • Posts: 149
  • Karma: 4
  • CiviCRM version: CiviCRM 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.2.14
  • PHP version: 5.0.91-50-log
Re: View2, Custom Fields, Contact vs. Membership View
July 28, 2009, 04:08:24 pm
pretty sure the database presets are the problem, but due to a recent server switch, I can't test to be sure.  but I just retroactively discovered this as a mistake.  Will get back if this is NOT the issue.  Thanks.

mariagwyn

  • I post frequently
  • ***
  • Posts: 149
  • Karma: 4
  • CiviCRM version: CiviCRM 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.2.14
  • PHP version: 5.0.91-50-log
Re: View2, Custom Fields, Contact vs. Membership View
July 29, 2009, 07:02:32 pm
@jalama: does the patch apply to civicrm 2.2.6 or 2.2.7?  i am not seeing corresponding code in 2.2.6 which is what I am currently on.

Thanks,
maria

jalama

  • I post frequently
  • ***
  • Posts: 176
  • Karma: 22
    • Rooty Hollow LLC
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6 and 7
  • MySQL version: 5.1
  • PHP version: 5.2.5 and 5.3
Re: View2, Custom Fields, Contact vs. Membership View
August 05, 2009, 05:20:40 am
it's in 2.2.8, which is detailed in the patch report
http://www.rootyhollow.com

mariagwyn

  • I post frequently
  • ***
  • Posts: 149
  • Karma: 4
  • CiviCRM version: CiviCRM 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.2.14
  • PHP version: 5.0.91-50-log
Re: View2, Custom Fields, Contact vs. Membership View
August 05, 2009, 07:44:57 am
Is there a place to download just the most recent version of civicrm.views.inc?  And, will the 2.2.8 version work on a 2.2.7 install of civicrm?

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: View2, Custom Fields, Contact vs. Membership View
August 05, 2009, 10:55:14 am

u should upgrade to 2.2.8. it is a security release and upgrading is strongly recommended :)

you can always get the code from our svn repository

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

mariagwyn

  • I post frequently
  • ***
  • Posts: 149
  • Karma: 4
  • CiviCRM version: CiviCRM 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.2.14
  • PHP version: 5.0.91-50-log
Re: View2, Custom Fields, Contact vs. Membership View
August 05, 2009, 04:51:02 pm
yup - should, did, works.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • View2, Custom Fields, Contact vs. Membership View

This forum was archived on 2017-11-26.