kewljuice/civicrm_fields

Everything functionally related to CiviCRM field(s).

Installs: 1 595

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:drupal-module

1.5 2023-01-19 15:27 UTC

This package is auto-updated.

Last update: 2024-04-19 17:57:09 UTC


README

Add a CiviCRM field to a content type

Add a CiviCRM field to a content type

  1. Navigate to the Content types page (Administer > Structure > Content types).
  2. In the table, locate the row that contains your content type and click the manage fields link.
  3. In the Add new field section, select one of the following types.
    • CiviCRM field_contact
    • CiviCRM field_event
  4. Enter a label, machine name for the field.
  5. Click Save.

Select CiviCRM entity on create/edit content type page

Select CiviCRM entity on content type create

  1. Navigate to the Content type create/edit page.
  2. Select the newly created CiviCRM field, start typing the field will automatically show results.

Manage CiviCRM field display

Manage CiviCRM field display

  1. Navigate to the Content types page (Administer > Structure > Content types).
  2. In the table, locate the row that contains the content type you wish to change and click the manage display link. This takes you to the Default view mode settings page.
  3. The format column contains the options to show the CiviCRM field in different formats.

View content type with CiviCRM field formatter

View content type with CiviCRM field

  1. Navigate to a Content type page where a CiviCRM field is set.

Installation

This module is installed as any other Drupal module.

  • with drush drush pm-enable -y civicrm_fields

Development

Links