Drupal/C3/Styling-a-Page-using-Themes/English
Title: Styling a Page using Themes
Keywords: Drupal, Video tutorial, Themes, contributed Themes, starter Themes, base Themes, sub-themes, Zircon Theme, Adaptive theme
| |
|
| Slide 1:
Styling a Page using Themes |
Welcome to the Spoken tutorial on Styling a Page using Themes. |
| Slide 2:
Learning Objectives
|
In this tutorial, we will learn about
|
| Slide 3:
System requirement
|
To record this tutorial, I am using
You can use any web browser as per your choice. |
| Time | Narration |
| 0:05 | As mentioned earlier, a Drupal website can look like anything we want. |
| 0:12 | In fact, here are some of the different looks and feels from several Drupal sites. |
| 0:18 | Notice that they are completely different. |
| 0:20 | This is based on the Theme. |
| 0:23 | Themes can make your Drupal site look like anything you want. |
| 0:28 | Here are a few things to remember about Themes. |
| 0:31 | We can get Themes from a few different places:
|
| 0:51 | Contributed Themes can be found at drupal.org/project/themes |
| 1:26 | Block Regions are all determined by the Theme. |
| 1:31 | So, where we can place Blocks on our website, is part of the theming process. |
| 1:38 | If we don't have the right region, then its a Theme issue not a Block issue. |
| 1:45 | Let's now understand Themes a little bit more. |
| Time | Narration |
| 0:05 | We can get some fantastic free Themes at drupal.org |
| 0:12 | Go to drupal.org/project/themes |
| 0:16 | Let's take a look at some of the Themes that are available for Drupal. |
| 0:21 | Recall from our Modules tutorial.
We have to filter by the Core compatibility of the Drupal version we're using. |
| 0:28 | There are 2205 Themes here.
|
| 0:39 | Let’s talk about how to find and evaluate Themes. |
| 0:43 | This is very similar to Modules. |
| 0:48 | We will start here at drupal.org |
| 0:51 | Now, when we filter by Core compatibility, they get automatically sorted by Most Installed. |
| 0:57 | Adaptive Theme is number one at this point. |
| 1:00 | And Bootstrap is number two. |
| 1:02 | Let's click on Bootstrap. |
| 1:07 | Recall our DMV illustration from the Module tutorial?
It’s the same thing here. |
| 1:13 | You have to read the documentation first. |
| 1:18 | Then check out the Maintainers. |
| 1:21 | And look at versions and project informations. |
| 1:25 | At the time of recording, this particular Theme is in Drupal 8 x 3.0 alpha 1 version. |
| 1:34 | And there is a development version also. |
| 1:37 | Later on, there's going to be a Drupal 8 version of this Theme, up here in the green. |
| 1:46 | A Contributed Theme can have several flavours as well.
There are 3 different kinds of Themes. |
| We can have a very simple Contributed Theme. that you can configure to a point. | |
| 1:56 | We can have Starter Themes like Bootstrap or Zen.
|
| 2:08 | Or we can have a Base Theme.
|
| 2:17 | But the rules are all the same here. |
| 2:20 | Look at the documentation.
|
| 2:27 | We will install a Contributed Theme, now. |
| Time | Narration |
| 0:05 | Let’s go to drupal.org/project/zircon |
| 0:16 | Scroll down.
|
| 0:26 | It's not used on many sites. |
| 0:29 | We will be using this theme, because it is ready for Drupal 8, as of today. |
| 0:43 | Let us right-click on tar.gz and copy that link.
|
| 0:51 | Let us go back to our site. |
| 0:54 | This time click on Appearance and Install new theme. |
| 1:00 | Again, same process as with Modules. |
| 1:04 | Let us paste that URL and then click Install. |
| 1:09 | The Theme is downloaded to our web server, and we are able to now turn it on. |
| 1:14 | Click Install newly added themes. |
| 1:16 | Scroll down to the bottom. |
| 1:18 | And you'll see Zircon.
|
| 1:28 | Click Install and set as default. |
| 1:31 | Now as we learnt in the intro video-
|
| 1:42 | Now let's take a quick look at the settings. |
| 1:45 | Click on the word Settings. |
| 1:49 | We have the normal TOGGLE DISPLAY in Zircon. |
| 1:51 | And the shortcut icon. |
| 1:54 | Once again, if you want to update the logo-that's under Global settings. |
| 1:58 | And LOGO IMAGE SETTINGS. |
| 2:00 | Click Save. |
| 2:04 | And then go to our site. |
| 2:10 | This is Zircon - a completely flexible, robust, and global friendly Theme for Drupal. |
| 2:20 | Let's head over to Structure and Blocks. |
| 2:25 | And click on Demonstrate block regions for Zircon. |
| 2:28 | We'll see a number of Block regions here. |
| 2:32 | A Header region.
|
| 2:39 | There's a Slideshow region, in case you are using something like View Slideshow. |
| 2:48 | A Featured block region. |
| 2:50 | Help.
|
| 2:53 | Panel First.
|
| 2:58 | Notice that some of the regions from our default Theme are no longer available. |
| 3:04 | Let's take a quick look and see what we need to do here. |
| 3:08 | There are a lot of stuff in the Header region.
|
| 3:18 | We will put that back into Footer. |
| 3:22 | It immediately disappears from the Header. |
| 3:24 | Let's take the Status message out of the Header and put it into messages. |
| 3:32 | Let's put the Footer menu again, down into Footer. |
| 3:36 | We'll leave Search, Site branding and User account menu where they are for now. |
| 3:41 | The Primary menu is in the wrong spot but let's just take a quick look at that. |
| 3:46 | Click Save blocks. |
| 3:48 | Go back to our site. |
| 3:50 | And we'll see that the Main menu is nowhere to be found.
|
| 3:58 | So, we will take our Main navigation and change that to Main menu. |
| 4:05 | Scrolling down let's take a quick look. |
| 4:07 | In our Content area, we've got the Help block. |
| 4:11 | Let us put that in Help. |
| 4:13 | Page title, Primary admin actions and Page Tabs are fine. |
| 4:18 | Sidebar first, Welcome to Drupalville, Book navigation, Recent Events Added and Tools. |
| 4:23 | Let's take the Tools menu and put that inside Sidebar second.
|
| 4:33 | There are four Panel regions here in which we can place anything we want. |
| 4:39 | Now, click Save. |
| 4:42 | And let's take a look at what we did. |
| 4:46 | This is a lot better now. |
| 4:49 | Our menu is properly placed in the Main menu block region.
|
| 5:04 | BOOK NAVIGATION, RECENTLY ADDED EVENTS on the left. |
| 5:08 | And the TOOLS are on the right, again Sidebar first and Sidebar second. |
| 5:12 | And all the content is in the middle. |
| 5:16 | A couple of things to point out here. |
| 5:19 | We've changed our themes. Everything has changed, except our content. |
| 5:26 | We've got new fonts, new font styles, new H3 tags, new Block regions, layouts and a new Footer area. |
| 5:35 | But what's not changed is our content and the actual layout of our content. |
| 5:40 | To change those, we will need to use Panels or Display fields.
|
| 5:49 | Themes are fantastic.
|
| 5:58 | You can come back to drupal.org/project/themes.
|
| 6:08 | Find some themes that you like, install them and play with them.
|
| With this we come to the end of this tutorial. | |
| Slide 5:
Summary
|
Let us summarize.
|
| Slide 6:
Acknowledgement
|
This video is
|
| Slide 7:
Acknowledgement
|
The video at this link summarises the Spoken Tutorial project.
|
| Slide 8:
Spoken Tutorial Workshops
|
The Spoken Tutorial Project Team conducts workshops and gives certificates.
|
| Slide 9:
Acknowledgement
|
Spoken Tutorial Project is funded by
Government of India. |
| This is Vanessa Varkey signing off.
|