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

Login






Lost Password?
No account yet? Register

Affiliates

Azrul's JomComment
JoomlaShack
iJoomla
The Joomla! Store
Member of W3C Sites dot com
How to Change What Displays on the Home Page PDF Print E-mail
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.

Trackback(0)
Comments (12)add comment
BTOS: ...
The menu system is the most difficult for me to understand and I've made many websites professionally. This tutorial falls short of a complete explanation of purpose. I looked for the rest of the story. I'll try the other tutorials on menus but this one? Come on man!
1

report abuse
vote down
vote up
September 30, 2006
Votes: -3
This tutorial falls short of a complete explanation of purpose. I looked for the rest of the story. I'll try the other tutorials on menus but this one? Come on man!


I believe this tutorial explained what it said it would explain. The intent was not to be a comprehensive explanation of the menu system, but rather to explain a little-known feature (or fault, depending on how you look at it smilies/smiley.gif ) by which the menu system sets what displays on your home page.

If you have any specific questions about the menu system, I'd be glad to try and answer them.
2

report abuse
vote down
vote up
September 30, 2006
Votes: +0
Dear Cory,

I want to have a different homepage for public and the rest. I tried your suggestion by setting the first mainmenu entry (news) to registered followed by a public entry Welcome (which shows frontpage stuff). This doesn't work, because joomla still display the news page to the public user telling to log-in. I thaught joomla would skip the first entry completely because it is registered, but obvious it doesn;t. Do you have any suggestions?
3

report abuse
vote down
vote up
March 12, 2007
Votes: +0
Hi Ron,

Unfortunately, that is not a feature that is available in Joomla. The only way to do that would be to make the public page the home page and somehow put an automatic re-direct to the registered-only page conditional on whether or not the user is logged in.

You could use the code in your template from "Making module positions viewable only by unregistered visitors" to add the re-direct code when the user is logged in.

Good luck!

Cory
4

report abuse
vote down
vote up
March 12, 2007
Votes: +0
Problem arises when you want to:
a) Put another menu item first so it becomes your real home page, and
b) You still need the menu item "home" to show top left as a navigational aid.

If you put the new item first, then its menu item appears first also (top left). Home is out of position, and navigation becomes confusing.
5

report abuse
vote down
vote up
April 26, 2007
Votes: +0
Hi pintobuck,

You could try re-naming the first menu item to "Home". That way, it displays the word "Home" in the menu, but it points to whatever the menu item is.

Cory
6

report abuse
vote down
vote up
April 26, 2007
Votes: +0
I have developers working on this project and they inform me that the nav menu across the top cannot have sub-menu dropdowns, is there anyone here who can confirm that what they are telling me is correct, or is it possible to have normal dropdowns? Any help is appreciated as I am lost at where to begin asking in these various forums and discussion sites. TIA
7

report abuse
vote down
vote up
May 02, 2007
Votes: +0
Hi Larry,

What your developers are saying is not true. You cannot create drop-downs with the menu module that comes with Joomla!, but you can with the Extended Menus module. It helps if your developers understand Javascript and CSS in order to make the drop-downs work.

Cory
8

report abuse
vote down
vote up
May 02, 2007
Votes: +0
Thank you for the tip. I am trying to make my Virtuemart catalog my default home page. After following the steps on your site, I am defaulting to Virtuemart but it is the Store description rather than the URL associated with the Main Menu's first menu item (VirtueMart Catalog List). Any ideas?
9

report abuse
vote down
vote up
July 08, 2007
Votes: +0
This tips is nice. But on one of my project, i did this solution instead. (It's much more complex and require template hacking knowledge but it's a sure bet.)

The situation was I don't want the homepage to show crappy frontpage component with blog-like content. But remove all content from frontpage won't help; It showing "No contents to display" message instead.

So I made two copied of the similar template for that site.
-The first one is as it be, set default.
-The second one is the copy of the first one for "Homepage only".

In order to made it working, I did this.
1. Made a copy of the first template and rename its folder to templatename-home

2. Hack templateDetails.xml, change the templatename to templatename-home according to the new folder name

3. Hack index.php of the template to remove

4. Further hack the template_css.css file to share images from original source (the first template). This is not a must, but I did to save server's space and page loads.

5. Config site template in admin's panel. Select the new template then ASSIGN it to mainmenu | Home.

Wish this help somebody.
10

report abuse
vote down
vote up
July 28, 2007
Votes: +0
Hey this tip worked great for me! I'm still pretty lost but the fog is slowly beginning to lift. What I don't understand is the fact that I've set up sections and categories and then created some content and checked "show on frontpage" for several of them -- but nothing shows on the frontpage?? (if "home" is #1 in the menu manager). I suspect it has to do with the "modules" that are on the homepage of the Nova template I'm playing around with? I'm still trying to figure out how to get some navigation going... thanks for your wonderful site and all your good advice.
11

report abuse
vote down
vote up
October 27, 2007
Votes: +0
Well done, it is so easy to change it to front pages. Thanks a lot. Cheers,
12

report abuse
vote down
vote up
December 24, 2007
Votes: +0

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

busy
 
Tag it:
Delicious
Digg
Technorati
< Prev
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!