Home arrow Help & Tips arrow Joomla Help & Tips arrow Joomla Tips #7 : Template Packaging

Joomla Tips #7 : Template Packaging

Print E-mail
User Rating: / 29
PoorBest 
Written by Editor (cowboy)   
Sunday, 08 January 2006
Tip 7 : Template PackagingThere are thousands of free templates for Joomla and Mambo out there. Just here at JoomlaHacks.com, you can download some of the best free templates. Some of the template coder in the community has the eye for design. But I can't help to notice most of them really know nothing about proper packaging.

Yes. Most of them probably got the skeleton source from Rhuk Solar Flare and placed their own jpegs and index.php. So when you try to install them, it just fail. But of course, for some of us who knows, a template package can just be copied to the template folder if the installation fails.

Here are just some packaging tips for template developers:
  1. ZIP it. This is just simple and I don't know why some of them use RAR. Template installer won't install RAR. If you need include extra files such as PSDs, just put it in a seperate folder such as "/psd". Also, do not forget to include a blank "index.html" in your folders to protect the server from leech and hackers.
  2. ZIP the content, not the folder. For example, your template folder is "awesome_template". Do not zip that folder, zip the contents within that folder. Because if you zip the main folder, again, template installer cannot install it.
  3. Verify your templateDetails.xml. This file tells Joomla what files to be copied in the template folder. So make sure everything is in there.
  4. Preview image. And don't forget to inlcude the preview image which should be 206x145 pixels.

Standard Template Architecture:
  1. index.php - the main template code.
  2. templateDetails.xml - template paclage information.
  3. template_thumbnail.png - template preview image.
  4. /css/template_css.css - the template's css file in css folder.
  5. /images/ - the default image folder.

Tip 7 : Template Packaging


Comments (0)add feed
Write comment

You must be logged in to post a comment. Please register if you do not have an account yet.

 
< Prev   Next >



 
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal.
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use