Start learning with our library of video tutorials taught by experts. Get started

Joomla! 1.5: Creating and Editing Custom Templates

Getting the HTML comp ready for conversion


From:

Joomla! 1.5: Creating and Editing Custom Templates

with Jen Kramer

Video: Getting the HTML comp ready for conversion

We are ready to get started on making our Joomla! template. So your first step is one you are familiar with. You have already gone through that process of planning your site and got a graphic designer and that converted it to some type of HTML and CSS and Image files. As we have done here with the Bliss No. 5 chocolate website. You are going to follow your typical way of creating that HTML file, whether you are slicing and dicing a Photoshop or a Fireworks component. You have created the DreamWeaver HTML layout or you might just work directly in DreamWeaver and use your CSS- based layout. However you choose is fine. Make sure you think about where the menus and the content and various other Joomla! modules are going to appear while you are in process of doing this.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Joomla! 1.5: Creating and Editing Custom Templates
2h 11m Intermediate Dec 02, 2008

Viewers: in countries Watching now:

Custom templates are the key to making a Joomla!-driven website stand out. In Joomla! 1.5 Creating and Editing Custom Templates, Jen Kramer McKibben offers instruction and insight to help Joomla! users create eye-popping websites. Jen starts with the basics, like how to add the Joomla! template codes to a static HTML layout, install the template package, and clean up styling after installation. She also shows how to make multiple layouts within the same Joomla! template, configure menus and submenus, and more. Exercise files accompany the course.

Topics include:
  • Converting HTML comps to Joomla! templates
  • Troubleshooting installation problems
  • Creating XML and index files
  • Placing random images
  • Configuring menus and submenus
  • Changing the favicon
Subjects:
Web CMS Web Development
Software:
Joomla!
Author:
Jen Kramer

Getting the HTML comp ready for conversion

We are ready to get started on making our Joomla! template. So your first step is one you are familiar with. You have already gone through that process of planning your site and got a graphic designer and that converted it to some type of HTML and CSS and Image files. As we have done here with the Bliss No. 5 chocolate website. You are going to follow your typical way of creating that HTML file, whether you are slicing and dicing a Photoshop or a Fireworks component. You have created the DreamWeaver HTML layout or you might just work directly in DreamWeaver and use your CSS- based layout. However you choose is fine. Make sure you think about where the menus and the content and various other Joomla! modules are going to appear while you are in process of doing this.

So here is that flat HTML file that we are starting with. This contains some HTML and there CSS that's controlling the look of the page. If we look here in Dreamweaver, just to catch those you up who are working in Dreamweaver as well, over here on the right-hand side I have my Files window open and above that is the Style window and I am currently looking at All Styles. If you have other palettes that are open here on the other side, we are not going to be using them. You can close them or minimize them to get rid of them. My Styles are operating off of an external style sheet called default.css that lives inside my CSS folder and the reason why we do this as an external style sheet always first of all, Joomla! wants an external style sheet. But it also helpful to you because it going to help you with search engine optimization. There is not so much code at the top of the page for search engine spiders to wade through on its way to the content. It also means the style sheet can be used then more than one template and I will be covering in another series of video called Advanced CSS in Joomla!.

If you look at the menu on this side here, such this want to cross the top, I am going to flip over Code View here and you will see that our menus are written with unordered lists. This is generally a best practice in writing HTML anyway. But it is the way the Joomla! will also write its lists, in an unordered list fashion and use styles to make them go horizontal. If you want assistance in how to make a list go horizontally, a great site to look at is Listamatic and we will include to that in our exercise files. I am going to flip back over to Design View. There are four images that are used to make this site over here in the folder. The background image is this background in the content area here with little flowers. We have a footer images that's down at the bottom of the page. It's this darker teal piece with the rounded corners. We have a logo on the top, this image here, and a tag line image, which is also a background image on this webpage.

The structure of our files over here are what Joomla! is ultimately is going to want. Joomla! will want a CSS folder with the default.css file with it. Joomla! will also want an Images folder with whatever images involved on the site are in it. You will notice here that I have used all GIF images on this site. That just happens to be the way things worked out. You can of course use JPEGs or PNG files as images as well. If you are not familiar with how to make your own static page I recommend you go back to the introduction from my recommendations on some helpful HTML and CSS videos you can watch at lynda.com so that you can make a page just like this.

Find answers to the most frequently asked questions about Joomla! 1.5: Creating and Editing Custom Templates.


Expand all | Collapse all
Please wait...
Q: When creating and uploading custom templates as described in Joomla! Creating and Editing Custom Templates , the following error occurs:

XML Parsing Error at 1:1. Error 4: Empty document
JInstaller::install: File '/tmp/install_4bd887e090339/css/default.css' does not exist.


What is causing this error?
A: Check through the errors described in the “Fixing typical installation problems” video (e.g. files included in the install package that are not listed in the XML file; the XML file lists files that are not in the install package; XML is badly formed). Also check for permissions issues with your server.
In all likelihood, if this message appears, there is an error with the XML file, possibly a typo or a misnamed file. Make sure the CSS file is called default.css and is located in the CSS folder. Also, make sure everything is spelled correctly.
Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Joomla! 1.5: Creating and Editing Custom Templates.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

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.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked