Morph

The swiss army knife of Joomla template frameworks.

Documentation

  • Banner

Setting up a split menu

The Split Menu allows you to use both top and side menu in combination with one another. It's a useful way to display many levels of menu items without overpowering the person browsing your site. This tutorial will show you how to set it all up.

Step 1

First thing you will need to do is update you menu to have child menu items. This is done in the relevant menu via Joomla's Menu Manager. An example of a menu with child menu items can seen below:

child items

Step 2

The next thing you need to do configure your top menu settings to accommodate the Split Menu. See the example top menu module (published to the "user3" position) settings below. You will notice that we have set the "End Level" to "2". The reason for this is so that Joomla knows to only display 2 levels of menu items before splitting contents into the sidebar menu.

top menu settings

Step 3

Now move on to your sidebar menu. If you don't have a menu module published to your sidebar, simply duplicate the existing top menu module and publish it to the splitleft or splitright module positions.

Once you have the module published to your chosen position, you can proceed to adjusting the modules settings. Notice how the "Start Level" is set to "1". This is important, as it tells Joomla that the menu should only load menu items from second level of menu items.

side menu settings

Example of Split Menu in action

The below examples are of how your menu will look once it's setup. Please note that the actual styling of these will vary from themelet to themelet.

Spit menu with sub items displayed in the topleft module position:

split menu example

Monday, 21 November 2011

Introduction to Morph's architecture

Morph's architecture is quite different from most traditional Joomla! templates, so it's important to you understand the role that each of the three key parts play, as it will help you grasp the other key concepts that Morph introduces.

Fork on Github