The Joomlashack Blog
In How to Lose the Splash Page, I talk about how to move your Joomla! installation between directories on your server. Because the topic was buried in the "Read more..." section of the post, there may be some readers who ignored it or did not read it. If you want to know how to do this, click on over to How to Lose the Splash Page, and scroll down to "Option 1: How to Move Your Installation".
Splash pages (those annoying pages with some sort of fancy graphic or flash intro that say "Click to Enter" or "Skip Intro") are bad. I could spend a whole article trying to convince you of this fact, but I think this article does a better job of it than I could ever do.
One of the most common mistakes made by Joomla! designers is to assume that just because you loaded Joomla! in a directory called "http://www.yourdomain.com/joomla" or "http://www.yourdomain.com/cms" or "http://www.yourdomain.com/home" rather than your root web directory, you are stuck needing to create a splash or intro page in your root directory to point your users to the real site. Nothing could be futher from the truth. As a webmaster, you have a couple of options for pointing users to your content without the need for a splash page. I will try to cover those options in this tutorial.
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.
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.
You can rest easy, though, because there is a solution. Read on to find out what it is.
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.)
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:
- In your administrator panel, click Menu->mainmenu.
- Create a new menu item that links to what you want to display on the home page.
- 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.
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.
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.
Although it can do so much more than managing content, Joomla! is, at its core, a Content Management System (CMS). It is important for aspiring Joomla! site developers to have at least a basic understanding of how Joomla! is set up to organize content. A proper content organization can greatly improve the flow and usability of your website. This article is meant to provide that basic understanding and give steps to successfully organizing your content.
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.