Did you come here from joomlajunkie.com? This is our new home and we are in the process of moving so some links on joomlajunkie are already redirecting to here.

hide forever

Welcome to Prothemer - the new home for JoomlaJunkie.com

only the blog for now but there is much more coming soon...

Exploring alternatives to Joomla’s default sidebar module position names

One thing that has bugged us for absolute ages is the default names of module positions used in Joomla templates. Specifically, the “left” and “right” positions, which are generally used in a templates sidebars.

The issue we have with the current naming convention is that it assumes that the sidebar’s position will always be on the left or right of the primary content.

This issue is especially transparent now with Morph, where you have a whole new level of flexibility when it comes to the different page layouts that are possible. (see the interactive layout demo)

Whether it’s setting the global site-wide default layout or changing the default layout for a specific component or for a specific page – gone are the days where you are constrained to having your sidebars “fixed” to either the left or right.

Why not just change them?

You may be thinking that if this has bugged us for so long why we haven’t just changed them to something more appropriate? Well, the answer is simple.

Joomla’s sample content uses these positions to assign the default modules and if we were to change these, it would take us further from having Morph work “out-the-box” on a default install.

This is all about to change. Over the past week i have been working on a new alternative to Joomla’s sample content, with the aim of not only making it easier for our members to get up and running with Morph, but also to act as a tool to learn from. Our aim with Morph has and always will be to help you “Go live faster” and we are hoping that the new sample content installer will help you do just that.

Specific details about the actual new installer will be posted soon, but in the mean time here is a quick summary:

The sample content installer is a combination of the latest version of Joomla, a number of pre-installed and configured extensions that we have tried and tested to be useful time savers, along with well structured dummy content and menu items.

On the one side, it is a pre-configured Joomla install, aimed to help you get up and running quicker and on the other side, it is a tool for you to learn from. Think of it as a practical example of Morph in action.

So now with this new generic Quick Installer, we are free to explore the idea of renaming the default module positions to something more appropriate.

Quick overview of Morph’s sidebars structure

Current sidebar module positions in Morph

Current sidebar module positions in Morph

Looking at the diagram above, the sidebar on the left is the “outer” sidebar, as it is outside of the main content block and irrespective of whether it is positioned to the left or right of the content, it always stays on the “outside”.

The “inner” sidebar, works a bit differently and as you can see below, sits within the main content block. Like the outer sidebar, it too stays “inside” the main content block irrespective of which side its set to.

The proposed sidebar position names

Based on how Morph’s sidebars are structured, our thinking is that the most appropriate name for the sidebars is aptly “outer1-5″ and “inner1-5″.

Outer (previously “left”) sidebar positions:

  • Outer split menu (outersplitmenu)
  • Outer sidebar position 1 (outer1)
  • Outer sidebar position 2 (outer2)
  • Outer sidebar position 3 (outer3)
  • Outer sidebar position 4 (outer4)
  • Outer sidebar position 5 (outer5)

Inner (previously “right”) sidebar positions:

  • Inner split menu (innersplitmenu)
  • Inner sidebar position 1 (inner1)
  • Inner sidebar position 2 (inner2)
  • Inner sidebar position 3 (inner3)
  • Inner sidebar position 4 (inner4)
  • Inner sidebar position 5 (inner5)

A note on the split menu positions

The top “split menu” positions in both sidebars are reserved for the split menu. We are planning on extending the default split menu implementation in Morph to use the parent menu item as the sub menu module heading.

For example, if the parent item in the top menu is Products, the sub menu module heading would be Products. For that reason, the position will be reserved for and only displayed when there are sub menu items set to display on any given page.

But wait, what if…

In case you are thinking “what happens for sites that choose not to use the new installer, like existing installs?“. Well, that is a good point and I’m glad you raised it ;)

Our thinking is that we could easily add a simple tool into Configurator that would allow you to move your existing modules assigned to the left/right module positions over to the new ones and vice versa.

Five module positions in each sidebar? Isn’t that overkill?

You may also be wondering why we are increasing the module positions to five in each sidebar (not including the split menu positions), but if you consider for a moment how Morph’s module chromes work, that each of these positions can host either a stack of modules (default), a side-by-side grid, an accordion block or a tab block you’ll soon understand why having the extra positions will be beneficial.

Based on the implementations and our own usage of Morph, we feel that five should be sufficient and if we find later that more are needed, increasing the number of positions in each is quick and easy.

So now, over to you. What do you think about the proposed names? Nothing is set in stone yet, as we want to hear what you guys think and any possible suggestions for how we can improve this concept further are most welcome.



  • Preview: Sidebar Module Migrator tool

    About 3 weeks ago, we were exploring alternatives to Joomla’s default sidebar module position names. Well, Morph is now on its way to take......

  • Morph updated – new versions across the board

    The downloads area is now updated with new versions of pretty much everything (Morph related at least). The new versions are aimed at addressing......

  • The Morph toolset: new themelets and more updates

    Massive updates to the Morph toolset for Joomla, including the new addition of a dark base themelet (Liquorice) and stable release of the Explorer......

  • Tags: , , , ,

    12 Comments

    Leave a Comment |  RSS feed for comments on this post.

    Trackbacks / Pingbacks

    Leave a Reply

    CommentLuv Enabled