Skip to content

Install a module

User role

Drupal admin

You may choose to add a Drupal module to your Mukurtu CMS site to extend your site's functionality or further customize your site. Drupal modules can be found on their site at https://www.drupal.org/project/project_module.

Warning

Undertake these instructions at your own risk. We do not test external modules. Make sure that any modules you add have security advisory coverage. Adding a module requires access to the hosting server and the use of command line tools. Before following these instructions, make sure to back up your site, and confirm that you can restore from a backup.

Follow the instructions below to add a module to your Mukurtu CMS site.

  1. Navigate to the page for the module you want to install. In this case, we will install the @font-your-face module, which allows you to add custom fonts from the front end of your Mukurtu site. This module can be found at (https://www.drupal.org/project/fontyourface).
  2. Navigate to Releases.
  3. Copy the most recently updated Install code.

    Screenshot of the @font-your-face install code for Drupal 11

  4. Navigate to your terminal.

  5. Open your site directory and paste the copied code snippet, then execute.

    Screenshot of the terminal with the code snipped pasted in

    Screenshot of the terminal executing the @font-your-face install code

  6. Navigate to your site and log in as an admin.

  7. From the Administration menu, select Extend or navigate directly to /admin/modules.

    Screenshot of the left-hand admin menu with Extend selected.

  8. Filter your site's modules by entering a term from your module into the Filter field. This examples uses the term font, but the process is the same for any module you choose to add.

  9. Select the applicable modules. This example uses the @fontyourface and the @fontyourface - Local Fonts modules, but the process is the same for any module you choose to add.

    Screenshot of the Extend page with the term font entered into the filter field and the @font-your-face and @font-your-face - Local fonts modules selected and highlighted.

  10. Select "Install". You should receive a status message telling you that your modules have been installed successfully.

    Screenshot of the status message relaying that the @font-your-face modules were installed successfully.