Skip to main content
Skip table of contents

Drupal configuration

Overview

This section shows how to configure Drupal CMS v7.x for Redpoint Interaction to support the Drupal External Content Provider (ECP) plugin.

Service Module Installation

  1. In a web browser, log into the Drupal content management system.

    image-20250911-175601.png
  2. At the toolbar, click Modules.

    image-20250911-175614.png
  3. Scroll down and locate the Services module (if currently installed; if not, please continue to the next step).

  4. In the Modules page, click Install new module.

    image-20250911-175634.png
  5. In the Install from URL textbox, enter the following ftp URL: http://ftp.drupal.org/files/projects/services-7.x3.7.zip  and click Install.

    image-20250911-175714.png
  6. Verify that the installation completes successfully.

    image-20250911-175741.png
  7. Click Enable newly added modules to be redirected to the Modules page.

  8. Install the following modules by following the same procedure as documented in steps 4 to7:

  9. Once you have successfully installed the aforementioned modules, double check the following items to see if their status is enabled:

    • Services

    • OAuth Authentication

    • REST Server

    • Chaos tools

    • OAuth

    • Libraries

  10. Click Save configuration.

Creating a Service Endpoint

  1. At the toolbar, click Structure> Services.

    image-20250911-175802.png
  2. On the Manage Services page, click Add to add a new service endpoint.

    image-20250911-175813.png
  3. Click Add to add new service endpoint.

  4. In the Machine-readable name textbox, enter rpi_test.

  5. Select Server option REST.

  6. Enter rpi_test for the Path. This serves as the Service name in the RPI  Drupal ECP plugin.

  7. Select Session authentication.

  8. Click Save.

    image-20250911-175830.png
  9. On the Services page, the newly added Service endpoint named rpi_test will be displayed.

    image-20250911-175846.png
  10. Click Edit Resources.

  11. Select the file and user resources.

  12. Click Save.

    image-20250911-175922.png
  13. On the Services tab, click Server.

    image-20250911-175942.png
  14. Under Response formatters, select the json option.

  15. Select application/x-www-form-urlencoded and multipart/form-data options for request parsing.

  16. Click Save.

Creating Content Type

  1. At the toolbar click, Structure.

  2. Click Content type

  3. At the list of content types, make sure you are editing the Basic page.  Click Manage fields.

  4. Enter the name of the field in Add new field textbox (in this example we will be using an Image content type; set its field type to Image).

  5. Click Save.

    image-20250911-175959.png
  6. At the Images field settings, set the upload destination to Public files.

  7. Click Save field settings. The basic page settings for the Image field will be displayed.
    Set the File directory to images. Note: this will serve as a root folder once you load the root folders in the Drupal ECP.

    image-20250911-180014.png
  8. Click Save settings.

  9. Click Add Content.

    image-20250911-180029.png
  10. Click Basic page. This enables us to create a new file within the Drupal ECP by attaching an image file to the content.

  11. Enter the title of the file and choose image file.

  12. Click Save.

  13. On the toolbar, Click Configuration.

    image-20250911-180048.png
  14. Click File system.

    image-20250911-180100.png
  15. Take note of the value of the Public file system path (this serves as the Public folder at the RPI Drupal ECP plugin).

    image-20250911-180110.png
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.