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.
It is little secret that Joomla! has a thriving 3rd party developer community. Any function you can think of is probably already available in one of the many 3rd party extensions. It is sometimes difficult to wade through all of the choices that are out there to determine what you need, so I have put together a short list of components that I feel are must-have components. So, without further adieu, here is my list:
10 years is a long time in this business.
Since we started in 2006, we've dealt with a lot of people and a lot of companies. Business relationships have come and gone. Not many have endured for 10 years. Our relationship with Rochen is one of the few that has.
For the last 10 years, we've hosted all our sites at Rochen. This site is running on Rochen right now.
We use Rochen ourselves, and we recommend them to our customers. Over the last 10 years, we've experienced a lot of hosting companies. Though during these years we’ve occasionally recommended hosting companies, we stopped doing so because of the negative customer feedback we received. However, when we send people to Rochen, they come back happy.
Hey! DrupalCon Denver is almost here... and I'm leavin' on a jet plane! (yep - I'm old enough to remember that song)
This will be our 4th DrupalCon, and for the 3rd time Steve and I are teaching the "Absolute Beginner's Guide to Drupal" at a DrupalCon. The training is on Monday, but I'm afraid it sold out three times. We'll then enjoy the conference for the rest of the week with some of the geekiest people in the world! It's going to be a great week!
If you can't make it to Denver, check back often this week. If you're interested in Drupal, we'll be live blogging many of the sessions we attend including, of course, the keynote on Tuesday by Dries.
If you can make it to Denver, we'd love to meet you. Here's how to find us and get some great freebies.
(Dries keynote at DrupalCon London - August 2011)
Thirty five people from all over the U.S. have joined us today to learn about Drupal in our training session at DrupalCon Denver! From government agencies to major universities and small businesses to non-profits are represented here today.
We've had a great week at DrupalCon Denver and its just about over now.
I'm sitting in the theater waiting for the closing session where there's always a few surprises and some fun facts. This has been the a great DrupalCon. Mobile has been the central theme and the conference delivered. If you haven't read the post on this morning's keynote, click here and do so now. It was awesome!