Information for: DEVELOPERS   PARTNERS   SUPPORT

Installing Acquia Content Hub for Drupal 7

Use the following instructions to install the Acquia Content Hub client modules on your Drupal 7 website.

Note

The Acquia Content Hub installation process creates default rules, which you shouldn’t change or delete.

Requirements

As you prepare to use Acquia Content Hub with your website, be sure to plan for the following requirements:

Component Requirement
Drupal version Drupal 7
PHP version PHP 5.4 or later
Modules
Keys After you buy Acquia Content Hub, Acquia will email you a set of required keys which you use to connect to the Acquia Content Hub content repository.
Other Acquia Content Hub assumes you are using clean URLs.

Installation instructions

Important

Acquia strongly recommends you test your website with Acquia Content Hub on a clone or copy of your Drupal website in a test server environment before you upgrade your production server.

Use the following steps to install Acquia Content Hub on each of your websites:

  1. Download and extract the following modules into separate directories in your docroot/sites/all/modules/ directory:

  2. Download the following modules from the most recent Acquia Content Hub release note, and then extract them into separate directories in your docroot/sites/all/modules/ directory:

    • Content Hub
    • Acquia Content Hub connector

    Note

    The Acquia Content Hub module package includes the following features, which prevents module distribution on Drupal.org:

    • All Composer dependencies, which assists in the effort of setting up a Composer workflow
    • All required front-end libraries
  3. Sign in to your website as an administrator, and then click Modules in the admin menu to view the Modules page.

  4. Select the Content Hub check box.

  5. Click Save configuration to save your module settings.

  6. In the admin menu, click Configuration, and then click the Content Hub Connector link (http://[site_URL]]/admin/config/services/content-hub).

  7. Click the Connection tab, and then complete the following fields:

    • API Key: Acquia-provided value

    • Secret Key: Acquia-provided value

    • Content Hub Connector Hostname: The URL of the Acquia Content Hub API. Your Acquia technical contact will supply the URL. Ensure the URL doesn’t include a trailing slash (/).

    • Client Name: A name for the website This name is used internally in the Acquia Content Hub and the Acquia Content Hub API to identify the different member websites of your content network, and can’t be changed after you set its value. The name may contain a hyphen or underscore.

      Note

      If you uninstall and reinstall Acquia Content Hub at any point, you can’t reuse the Client Name you used during the previous configuration process. In that case, append a unique number to the Client Name that you used previously. For example, if you previously used LIFTSITE2, enter LIFTSITE3.

  8. Click Save Configuration.

Your website is now connected to the Acquia Content Hub content repository, and can begin to share content with your other connected websites.