Hi all,
I am new in joomla and php programming. So, it is okay if someone want to improve this tutor.
Sometimes, there is a need to display modules based on article. For example, if your web sell products, when user click Read More or click Article title to get more detail, it is nice to display modules related only to that article.
Suppose your article named Art1, to do this here are the steps :
1) create menu item, for example MyMenu1
2) on module manager don’t enable this menu
3) choose this menu item type as article layout and select Art1
4) create your own custom module
5) select menu assignment of your custom module to MyMenu1
That’s all, now whenever user click Art1, your custom module will be displayed.