No Code Attached Yet Information Required
avatar mehkriakram
mehkriakram
28 Mar 2024

Steps to reproduce the issue

call {LoadModuleID xxx}

Expected result

Module xxx shows up as content on the page.

Actual result

In Site Modules - > Module Name -> Menu Assignment Tab,
if i DON'T enable the module to show on that menu item linked to the article, the {LoadModuleID xxx} won't load module xxx

if i enable the module, then I see two instances of module xxx. one instance from the article that's calling {LoadModuleID XXX} and one may be from the menu assignments

System information (as much as possible)

Additional comments

i wonder if i call nested articles (one article from another) and the other article is not listed in the menu, if LoadModuleID will work or not or if i have to create hidden menu items just for this.

avatar mehkriakram mehkriakram - open - 28 Mar 2024
avatar mehkriakram mehkriakram - change - 28 Mar 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 28 Mar 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Mar 2024
avatar brianteeman
brianteeman - comment - 28 Mar 2024

This is really a question for the forum but basically the module must be enabled for the menu. What I always do is set the module to be enabled for all pages but place it in a fake position. Then it will load when you load it inside the article and wont appear anywhere else

avatar Quy Quy - change - 28 Mar 2024
Labels Added: Information Required
avatar Quy Quy - labeled - 28 Mar 2024
avatar Quy Quy - change - 29 Mar 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-03-29 14:54:22
Closed_By Quy
avatar Quy Quy - close - 29 Mar 2024
avatar Quy
Quy - comment - 29 Mar 2024

Closing as not a bug.

Add a Comment

Login with GitHub to post a comment