Viewers: in countries Watching now:
Author Tom Geller demonstrates how to create and publish a complete web site with the powerful tools in Acquia's hosted service, Drupal Gardens. The course shows how to leverage the pre-built page layouts and add custom styling using the ThemeBuilder tool; integrate rich site features, such as surveys, user ratings, and media galleries; and push content to Twitter and Facebook. The course also covers transitioning from a Drupal Gardens site to a self-hosted Drupal site. Exercise files are included with the course.
Now we have reached one of the easiest parts of Drupal Gardens, but it's also one of the most useful: that is, exporting themes you have created in the Theme Builder. I have mentioned elsewhere in this course how hard it is to create Drupal themes the traditional way. You get a lot more control, but you need some specialized knowledge of PHP programming, as well as Drupal's unique theming system. If you create a theme in Drupal Gardens and then export it, you don't need any of that. In this video I will show you two things: how to export the theme and how to use it in the standard Drupal installation outside of Drupal Gardens.
For this latter part I have already installed Drupal on my computer after downloading it from drupal.org. If you want to follow along at home and need to learn how to do that, watch the installation section of my lynda.com series "Drupal Essential Training." It will have to be the latest version of Drupal though, in order to be compatible with the theme that you export from Drupal Gardens. To get started in Drupal Gardens, we click Appearance to bring up the Theme Builder. I will just quickly make sure that I know which theme I am exporting. Yes, it's exp_cal_03, which is one of the themes that I created. It's in My themes, and good: it has that red box around it.
So I just go up and click Export. I am going to call this "explorecalifornia" and click OK. Drupal Gardens takes a moment to package up the theme and then offers to save it to your download location. I click OK and there it is. It's now in your download location in a compressed format. If you want to learn how to uncompress them, see Garrick Chow's computer literacy courses also on lynda.com. I have already uncompressed it on my computer and taken it out of the folders that it was contained in, because when you download it, it actually ends up contained in two or three folders.
What I end up with is the theme itself, with the name acq_ and the name I gave it, explorecalifornia. If you double-click it, you will see that it's just like any other theme. It has CSS files, PHP files, and up here, the info file. If you want to learn more about how to change these files, see the course by Chris Charlton about designing Drupal themes. Then it's a simple matter of installing it. You do that in the standard way.
I am going to do this the old-fashioned way. I will open up my drupal folder here, go down to sites, open up the all folder and the themes folder, and just drag it in. Now when we go back to our core Drupal site, I can look at the themes page by clicking Appearance. Now remember, this is a core Drupal, not Drupal Gardens, so it brings up this screen. Scroll to the bottom and there it is, explorecalifornia. I will enable it and set default, close out the overlay, give it a moment to redraw, and there it is.
You know, when Acquia first announced development of the Theme Builder in Drupal Gardens, I had no idea they would allow theme exporting like this. And you think about it, it's a pretty gutsy thing of them to do. A greedier corporate decision would be to let you create these terrific themes in Drupal Gardens, but then not give you a way to take them with you when you leave, thereby forcing you to stay a Drupal Gardens customer. But instead they followed a more open source ethic, and I say, good for them. Once you have exported the theme, you might of course want to modify it further, perhaps in ways that Drupal Gardens doesn't allow, such as using PHP to change page logic. To do that I recommend once again the lynda.com course, "Drupal: Creating and Editing Custom Themes."
There are currently no FAQs about Drupal Gardens Essential Training.
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.