18.11.2015 Views

Beginning Drupal 8

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

Todd Tomlinson - Beginning Drupal 8 (The Expert's Voice in Drupal) - 2015

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 6 ■ Using <strong>Drupal</strong> Themes<br />

On this form you will see two fields, providing two ways to install the new theme:<br />

• Install from a URL: This option enables you to paste (or type) the URL of the theme’s<br />

distribution file that you wish to install. You’ll need to visit the theme’s homepage,<br />

scroll to the Downloads section of that page, right-click the tar.gz file name for the<br />

<strong>Drupal</strong> 8 version of the theme, copy the link location for that file, and paste that link<br />

in the first text box shown in Figure 6-6.<br />

• Upload a module or theme archive to install: This method requires that you first<br />

download the tar.gz file to your local computer. Scroll to the Downloads section of<br />

the theme’s homepage, click the tar.gz link for the <strong>Drupal</strong> 8 version of the theme,<br />

and save the file locally. Then, using the Browse button, locate that file and select it<br />

in preparation for the installation process.<br />

Once you have either pasted the URL or located the tar.gz file locally, click the Install button. The next<br />

page in the process asks you for the FTP information for your site (Username and Password). Enter valid<br />

credentials and click the Continue button. <strong>Drupal</strong> will copy the tar.gz file to your server and expand the file<br />

ready for you to enable and set default as outlined in the steps below.<br />

With the theme file expanded in the /themes directory, return to your site and click the Manage link<br />

in the admin menu and then Appearance link. Scroll down the page and you should see a section titled<br />

Uninstalled Themes (see Figure 6-7).<br />

Figure 6-7. Uninstalled themes<br />

Gratis should appear in the list of uninstalled themes. Click the “Install and set as default” link below<br />

the description of Gratis to enable the new theme. If the operation was successful, you should see a message<br />

that says Gratis is now the default theme. Visit the homepage of your site by clicking the “Back to site” button<br />

at the top left of the page and prepare yourself to be wowed. You should now see your site rendered in the<br />

new theme. See Figure 6-8.<br />

80

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!