Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
We finally have all of our files and folders ready to create our Joomla! template. Our last step is to zip these into a single file and that becomes our installation file in the template area in Joomla!. To do this, you are going to need a program that will create a ZIP file. If you are running Windows Vista as I am here, there is a program that comes with this called Compress. If you are on a Macintosh, if you highlight all of your files and go to File > Compress, however many items there are, in this case, they will be five. That will also create a ZIP file for you. And any other type of software that makes the ZIP file should be sufficient for this task. So I am going to show you how this works in Windows Vista.
We are going to select all of our files and then we are going to right click on them. We are going to Send To, a compressed or zipped folder. And it's going to ask us for a name. Now you can call is whatever you like. But I usually like to call it the same name as with template so that I don't get confused. Remember that we defined the name of the template in the XML file in an earlier movie. So we are going to call this interior.zip. That's all to the making the ZIP file. Now we need to upload it to the web server.
So I am going to go back to my backand of my Joomla! website. Make sure that you have logged in. And under Extensions, we are going to Install/Uninstall. And we are going to upload a package file, which is our ZIP file. We are going to hit the Browse button. We are going to get to the Chapter 3 folder in 03_01, and here is my interior file. You may have this zipped to the Desktop; wherever you have saved your ZIP file is where you are going to need to go. Select this file and go to Open. Now hit the Upload File & Install button and cross your fingers. If you have done everything right, you will get this message "Install Template Success". If you are working with your own files and you installed your template but you got an error message instead of "Install Template Success", you probably have a problem with your XML file. I am going to go through some of those common problems and solutions in the next video.
For now, let's take look at where the files went when we installed them. I am going to go back down to my File Manager and I'm inside of wamp, inside of the templates folder. And here you will see folders for all of the templates on this website. You are familiar with beez, the purity template, and the milkyway template. Inside is the template we have just installed. System is one that you may not be aware of, but system is the template that controls the backend of the Joomla! website. Open up the inside folder and this should look very familiar to you. Here is the css folder, the images folder, and all of the other files that you are familiar with. And of course if you will open each of these folders, you will see that we have four images as we had before and our one style sheet as we had before.
Your next question may be why don't we just FTP a folder directly to the templates folder that contains these files? Why do we zip them up and put them through the Joomla! interface? Well, if you zip up your files and put them in directly through the Joomla! interface, you will have your templates show up in the Template Manager. However, if you FTP your files directly to the server, Joomla! may not necessarily recognize that they are there and they won't show up in the Template Manager. It is a few extra steps but it's worth your time.
So I am going to go back to the backend of Joomla!. So just as a quick review, we have zipped up our files and we have installed them here. And we saw where those files ultimately go on the server. Once again, if you wound up with some errors when you install your template, make sure you watch the next videos as I cover what those errors are and how to fix them.
Get unlimited access to all courses for just $25/month.Become a member
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.
Your file was successfully uploaded.