Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8817

Enable Drupal content administrators to embed dynamic CiviCRM content

    Details

      Description

      To enable Drupal content administrators to embed dynamic CiviCRM content, we can implement a Drupal "filter" which evaluates Drupal nodes using CiviCRM's Smarty engine. Among other things, the Smarty engine includes a

      {crmAPI}

      function which can be used to load data.

      Some documentation about Drupal's filter system can be found at:

      Note that, much like CiviMail's Smarty support and Drupal's PHP support, this feature can impact a site's security posture; as with those features, this should not be enabled unless an administrator opts-in. Fortunately, Drupal's format/filter system already provides a means for enabling/disabling filters (which are generally disabled by default) and configuring RBAC.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: