Viewers: in countries Watching now:
Drupal 7: Creating and Editing Custom Themes shows the tools and techniques needed to build custom web sites with Drupal. Author Chaz Chumley introduces Drupal theme administration and takes a look at basic theming concepts, such as templates, regions, and variables. The course explores how Drupal default themes are configured and structured and how to install and edit a theme. The course also explores the tools a designer needs to create a Drupal 7 theme, using HTML, CSS, PHP, and Drupal templates, or migrate an existing Drupal 6 theme to Drupal 7. Exercise files are included with this course.
Now that we have a basic understanding of how themes function, all necessary modules configured and browser-based tools in place, let's get our hands dirty and start creating our custom theme. We are going to take a look at creating the content for the Samoca website using the Backup and Migrate module that we installed earlier. We will utilize this to restore all the data that makes up our website as well as replacing the sites folder so that we're better prepared. If we go ahead and browse on over to our Desktop, to our Exercise Files, we're going to see two files.
One is the sites.zip folder; the other is samoca.mysql.zip which is the database backup that we are going to restore. Let's go ahead and start by replacing the sites folder. Go ahead and double-click on sites. zip to extract it, then once we have the sites folder simply copy, navigate to Sites>samoca and paste this item in place. This is going to replace the existing sites folder and this is exactly what we want to do.
Click on Replace and now we have our new sites folder structure in place. That's part one, the second part is restoring the data. So if we go ahead and browse on over to Firefox, go to Configuration>System>Backup and Migrate and then the Restore tab, from here we can browse to the mysql back up that we need to restore. Click on the Browse button, locate your Exercise Files, and then locate the samoca.mysql.zip file, click on it, click Open and click Restore now.
Depending on the size of the database, this may take a second. Once the Default Database has been restored Drupal will actually notify us with the following message; default database restored from Upload file samoca.mysql. We want to confirm that it has successfully been restored. Once we have, we can close this tab and we can see that our site is now changed. We are now seeing some new data including new menu items and new content that make up the samoca theme.
We have used the Backup and Migrate module to populate the content for the San Angelico Museum of Contemporary Art, as well as reviewed the site content that makes up our non-themed website. Let's move on to reviewing our static HTML website and create a roadmap for what sections of our site will need to be themed.
Find answers to the most frequently asked questions about Drupal 7: Creating and Editing Custom Themes .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.