- Created on Tuesday, 26 June 2012 22:23
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:
- Go to Menus -> Menu Manager -> Add New menu and create a Hidden Menu
- Go to Menus -> Hidden Menu -> Add Menu Item, click on Menu Item Type and choose Category Blog or Category List
- 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.