Linking to An Article From A Module

Joomla is one of the most popular free content management systems (CMS) in the world that allows you to easily create and manage a dynamic website. It has an intuitive management interface to control all the features and functionality this powerful CMS possesses. Furthermore, there are hundreds of free extensions written for Joomla that allows users to extend its functionality and customize it to their own objectives. Joomla Content Management System is supported by a large and friendly community where newbies could really rely on assistance from more experienced members. Joomla counted more than 30 million downloads in 2012 and is growing.

The example above assumes that you have control over the URL used for the link. However, in some cases, the link is created automatically for you and therefore you don't have the option of manually changing the Itemid of the URL. Examples of this include the Latest News and Most Popular modules, both of which give you links to articles automatically. In this situation, you can still control which modules display when you link to an article. Here are three possible approaches.

a. The simplest trick is to assign modules to All menu items. That way they show up no matter what. But you have to be OK with having the modules on every page.

b. Another possibility is to use a hidden menu item with a Section or Category layout. You can do this on a "hidden" menu and not create a menu module for this "hidden" menu. If you don't have an article layout for the article being linked to, Joomla will try to find a "similar" menu item and use the modules for that item. This also works for category layouts. There is a hierarchy for this, as follows:

  • Article Layout
  • Category Blog Layout
  • Category List Layout

c. Note that, if you have the Breadcrumbs module enabled, these hidden menu items will show in the breadcrumbs. This means that a user will be able to navigate to the hidden menu item (for example, the section list layout) from the link in the breadcrumbs.

d. The sure way to fix this (but also the most work) is to create a separate menu item for each article. This is the most work, but it allows you to completely control the modules displayed for each article.

Best Joomla Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offer Joomla hosting starts from $5/month only. We also guarantee 30 days’ money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.