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
Menu Management


How to Use Multiple Menus on the Same Page PDF Print E-mail
Menu Management
Written by Cory   
Friday, 29 September 2006

Joomla! has a problem that you may or may not know about. It is a minor problem (or major, depending on whom you ask), and it will not really affect how your website functions.

The problem exists in how Joomla! renders menus. By default, the main element that contains the menu (in the case of a "flat list" menu, it is the "ul" element) is given an id=mainlevel. This is not a problem if you are using one menu on a page. But, if you are using multiple menus on a single page, there is a conflict.

Proper XHTML markup should not have more than one element with the same id. An id should be unique for each element that is given an id, so the browser can tell them apart for the purpose of style sheets and javascript. If you use multiple menus on the same page, you are using improper XHTML markup, and you will fail XHTML validation.

You can rest easy, though, because there is a solution. Read on to find out what it is.

 
Tag it:
Delicious
Digg
Technorati
How to Change What Displays on the Home Page PDF Print E-mail
Menu Management
Written by Cory   
Monday, 25 September 2006

By default, Joomla! displays the FrontPage component on the home page. The FrontPage component takes a list of content items that are published to the FrontPage and displays them in a blog layout. This will work for most sites, but some webmasters want the option to display something else on the home page. If you would like to change what is displayed on your home page, follow these steps:

Joomla! Adminstrator Menu
  1. In your administrator panel, click Menu->mainmenu.
  2. Create a new menu item that links to what you want to display on the home page.
  3. Re-order your menu items such that the item you want to display on the home page is listed first.

It really is that easy. Joomla! displays the first menu item in mainmenu as the home page. You can set anyting in your site as your home page using this method.

 
Tag it:
Delicious
Digg
Technorati
iJoomla

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!