Thursday, 23 October 2014 10:06

beggarly

Frontpage module displays in article view

1 1 1 1 1 1 1 1 1 1 Rating 83% (12 Votes)

Very often it happens that you are using a particular module to display your website's news in the frontpage and that you don't want the module to keep showing when you click on a particular article.

When you published the module, you probably assigned it to your "Home" menu item only, but unfortunately, if the articles that are listed in the module don't belong to a particular menu item, joomla will assume the old menu item

Item ids are very important parameters in Joomla's urls. They allow us to have a major control over our pages, even if the menus items are not visible in our site.

Therefore it is a good practice to always have at least one "Hidden Menu" in our Menu Manager where we can manage certain pages our users can access in different ways other than our visible menus.

In this case, you may want to create a menu item for every content category, for example:

  1. Go to Menus -> Menu Manager -> Add New menu and create a Hidden Menu
  2. Go to Menus -> Hidden Menu -> Add Menu Item, click on Menu Item Type and choose Category Blog or Category List
  3. Choose the category and set it up

This way Joomla will reffer to a certain item id when you open an article from this category and will stop showing the modules that aren't assigned to that menu item.