News Feed E-mail

Get How-To's right in your inbox. Subscribe to the HowToJoomla! news feed e-mail. Just enter your email address here:

Delivered by FeedBurner

Affiliates

Azrul's JomComment
JoomlaShack
iJoomla
The Joomla! Store
Member of W3C Sites dot com
Templates


How to determine which page you are on from within a Joomla! 1.5 template PDF Print E-mail
Templates
Written by Cory   
Thursday, 17 April 2008

One thing I often need to do while developing a template is change certain parts of the template depending on which page I am on. For example, let's say I am developing a template for a site that runs Virtuemart, and I want to have 3 columns on every non-Virtuemart page, and 2 columns on every Virteumart page. A solution that I often like to use is to make the column "collapsable" when the value of "option" is "com_virtuemart". When "option" is equal to "com_virtuemart", that simply means that the Virtuemart component is loaded.

 
Tag it:
Delicious
Digg
Technorati
Blank Joomla! 1.5 Template PDF Print E-mail
Templates
Written by Cory   
Thursday, 03 April 2008

Today I created a blank template for Joomla! 1.5. My main purpose for creating the template was to give myself a basis for creating future templates, since it contains the basic necessary files for creating a template. This template loads the component and the "debug" module position. There are no CSS styles in the template.css file, but the file is referenced in the index.php file. The template is released under the GPL, so feel free to use it however you want in accordance with the GPL.

Click here to download the template.

 
Tag it:
Delicious
Digg
Technorati
Joomla! CSS Guide PDF Print E-mail
Templates
Written by Cory   
Thursday, 08 March 2007

I just read about the Joomla! CSS Guide over at Joomla.org. It is a new website that spells out all of the CSS classes and id's used in the core Joomla! HTML output. This is a great resource for template designers. Check it out.

 
Tag it:
Delicious
Digg
Technorati
How to view your site with a differnt template without changing templates PDF Print E-mail
Templates
Written by Cory   
Saturday, 28 October 2006

Here's a useful little trick if you want to try out and debug a new template on your site while your visitors still see the live template. Simply add "index.php?jos_change_template=new_template_name" to your domain name.

Examples:

 
Tag it:
Delicious
Digg
Technorati
How to Display Your Page Title in Your Template PDF Print E-mail
Templates
Written by Cory   
Wednesday, 04 October 2006

I recently worked on a project in which I needed to display the page's title outside of the bounds of the "mosMainBody" command in my template. Before this project, I never even thought about doing that, much less how to do it. Well, I'm happy to report that not only did I figure out how to do it, but I am going to pass it on to you. Here's how you do it.

 
Tag it:
Delicious
Digg
Technorati
How to Create a Basic Template PDF Print E-mail
Templates
Written by Cory   
Monday, 25 September 2006

You've installed Joomla!, installed all of the components, modules, and mambots you need, and you've created your content and menus. Now you want to create a custom look for your Joomla! site, but you don't know how to create a template. This article will step through the creation of a very basic template in Joomla! Hopefully, by the end of this article, you will have a basic understanding of what goes into a Joomla! template. (Note: This information only applies to Joomla! 1.0.X. It does not apply to version 1.5.)

 
Tag it:
Delicious
Digg
Technorati
mosLoadModules - An Explanation PDF Print E-mail
Templates
Written by Cory   
Wednesday, 13 September 2006

At the Joomla! help site, there is a great article explaining the various functions to be used in a Joomla! template. It gives an explanation of the parameters involved in the mosLoadModules function, which often cause confusion for new template developers. You can either read that article, or if you don't feel like leaving this page, you can continue reading this article, which will explain the same concepts.

 
Tag it:
Delicious
Digg
Technorati
How to create a horizontal menu, the right way PDF Print E-mail
Templates
Written by Cory   
Wednesday, 13 September 2006

When you create a menu with the Joomla! menu manager, a corresponding menu module is automatically created. In the resulting menu module, you will have 3 options for how to display your menu with the "menu style" parameter. The 3 choices offered are vertical, horizontal, and flat list. In this list, there are 2 ways to create a horizontal menu: the right way, and the not-so-right way. In this article, I will explain both ways, and try to persuade you that the right way is the right way. I'll start with the not-so-right way.

 
Tag it:
Delicious
Digg
Technorati
Making module positions viewable only by unregistered visitors PDF Print E-mail
Templates
Written by Cory   
Tuesday, 12 September 2006

Here is a trick for making your module positions viewable only by unregistered visitors.

There are some powerful programming objects in the Joomla! API that are available to template designers. One such object is the user object, which is accessible with the php variable $my.

 
Tag it:
Delicious
Digg
Technorati
Advertisement

About HowToJoomla

HowToJoomla was started in September 2006 by me, Cory Webb, a long-time Mambo/Joomla user with a desire to give back to the community that has given so much to him.

HowToJoomla is not the best, most comprehensive Joomla tips site out there. That's not the goal. The goal is to share some of the knowledge and experience that I have gained through years of using the world's best content managment system. I hope that you will find this site useful and visit often. As I come across new tips and ideas, I will post them here for all to see.

I hope you enjoy using HowToJoomla and find it very useful.

Please take some time to read the Disclaimer.

Thanks for visiting!

About Me

I am a 28-year-old husband and father of a beautiful baby girl named Lucy. I have a degree in Electrical Engineering from the University of Texas at Austin, an MBA from Baylor University, and over 4 years experience working with the Mambo/Joomla CMS.

On February 1, 2008, I started a web design, development, and consulting company specializing in designing and developing custom Joomla-powered websites. The new company is aptly named Cory Webb Media, LLC. The double meaning is purely unintentional, but with a last name like "Webb" it is difficult to escape the obvious puns. If you are looking for professional assistance with your website, please feel free to contact me to discuss your project.

I also run HowToJoomla, CoryWebb.com (my personal website/blog), and JoomlaForm.com (a site dedicated to promoting good design in the Joomla! community). In my spare time (if there is such a thing), I volunteer with the youth ministry at my church.

Copyright © 2006 - Cory Webb Media, LLC - All rights reserved.
Powered by Joomla!