banner



How To Reinstall A Drupal Costom Template

Goal

Manually download module or theme files and upload them to your site, if the website or Drush methods for installing or updating a module or theme practice not work, or if you lot are placing a custom-written module or theme.

Steps

If you are installing a module or theme from Drupal.org, follow the downloading instructions, and so the uploading/unpacking instructions. If you created the module or theme, skip the downloading step. Instead, create an archive file (that you lot know how to extract on the server) and proceed with the steps in uploading/unpacking, using whatever method is appropriate for the way you initially created the archive file.

Downloading the files

  1. Open the module or theme projection page on drupal.org; for example, the Admin toolbar page (https://world wide web.drupal.org/project/admin_toolbar).
  2. Curlicue to the Downloads section virtually the bottom of the page.

    Downloading module files

  3. Click tar.gz to download the file to your figurer. Alternatively, if you take terminal access to your hosting server (running Linux), yous can copy the link address for the tar.gz file from your browser, and utilise this command to download the file (substituting the copied URL):

    wget https://ftp.drupal.org/files/projects/admin_toolbar-viii.x-ii.4.tar.gz

Uploading the files to your site and unpacking them

  1. If yous are adding a new module or theme, create subdirectories in your top-level modules and themes directories (if they don't already exist). Typically, people make a contrib subdirectory for contributed modules and themes that are downloaded from Drupal.org, and a custom subdirectory for modules and themes that they created. Your modules directory might await like this:

    Suggested directory structure for modules

  2. If you are replacing an existing module or theme with an updated version, put the site into maintenance manner. Come across Department 11.2, "Enabling and Disabling Maintenance Style".
  3. If you lot are replacing an existing module or theme with an updated version, discover and delete all the existing files and directories for the existing module or theme. Modules are ordinarily located in directories under the top-level modules directory, and themes are usually located in directories under the top-level themes directory.
  4. Upload the .tar.gz file (or whatever archive you created) to your site. Identify it in either the same location from which you deleted the directory (if replacing an existing module or theme) or the advisable subdirectory of modules or themes (if adding a new module or theme).
  5. Extract the files from the .tar.gz archive (or whatever archive you created), making a subdirectory in the same location as the archive file. If yous do not have terminal access, or your hosting server is not running Linux, your hosting control panel's file manager should provide a way to extract the files. If you have final admission to your hosting server (running Linux) and you lot are using a tar.gz file, you can use a control similar:

    tar -xzf admin_toolbar-viii.x-2.4.tar.gz
  6. Delete the compressed file from the server, unless your unpacking method already deleted information technology.
  7. Refer to Section eleven.3, "Downloading and Installing a Module from Drupal.org", Section eleven.five, "Downloading and Installing a Theme from Drupal.org", Section 13.6, "Updating a Module", or Section 13.7, "Updating a Theme" to consummate the installation or update of the module or theme. Starting time at the step after the automatic download has been completed.

Expand your agreement

  • If you piece of work with multiple environments (for example, a local development site and a production site) yous will accept to echo the steps on each surround, or re-clone the environment. Run across Section 11.viii, "Making a Development Site".
  • If you added a new theme, navigate in the Manage administrative carte du jour to Appearance (admin/appearance) and uninstall the old theme.

Videos

Manually Downloading Module or Theme Files

How To Reinstall A Drupal Costom Template,

Source: https://www.drupal.org/docs/user_guide/en/extend-manual-install.html

Posted by: quinonesanklesties.blogspot.com

0 Response to "How To Reinstall A Drupal Costom Template"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel