Change in Behaviour between J3 & J4 for Modules...

Search
Other Bug Reports questions
Forum

Change in Behaviour between J3 & J4 for Modules Anywhere

Jamie Gilbert's Avatar Jamie Gilbert
With J3 you can put modules anywhere as it says, however while testing J4 Upgrade I realise that there is a change in Behaviour, whereby with J3 you can have a modules which is NOT ASSIGNED to any pages, and when you use the code such as {module id="321" position="slider"} the module will appear on any generated page, however now with J4 the modules is not generated unless you set the modules to "ALL PAGES", which results in the module appearing everywhere and then TWICE on the page you have the code.

Guessing that was not done intentionally, so thought you should be aware as the component does not work as we require it anymore.

Thanks

Jamie
Peter van Westen's Avatar Peter van Westen ADMIN
Please check out the Modules Anywhere system plugin settings… mainly the Ignore Assignments setting.
Please post a rating at the Joomla! Extensions Directory
Jamie Gilbert's Avatar Jamie Gilbert
Hi Peter

Checked and the settings are the "Same" between the V3 & V4, whereby in V3 Ignore Module Assignments is set to "YES"
and then in V4 "Ignore Module Conditions" is also set to "YES", however as above it's not appearing when not assigned on a menu.

Thanks

Jamie
Peter van Westen's Avatar Peter van Westen ADMIN
It should show the module regardless of the module assignments.
It is working fine on my setups.

I have fixed something else, which I don't think should affect anything you are describing. But who knows...
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Jamie Gilbert's Avatar Jamie Gilbert
Hi I downloaded and installed as below

Regular Labs Library v22.7.24614 has been successfully installed
Modules Anywhere has been successfully updated to v7.15.3-dev2391926

Sadly did not change anything.

If it helps you can see the problem here
inspiring-bouman.111-67-29-104.plesk.pag...print-hsv-aasa-event

It works on our live - V3 site here
hsvownersclubofwa.com.au/events/calendar...print-hsv-aasa-event

Cheers

Jamie
Peter van Westen's Avatar Peter van Westen ADMIN
Can you give me (super) admin and (s)ftp access so I can take a look?
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Jamie Gilbert's Avatar Jamie Gilbert
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
I will need the ftp access to see what is going on on that page.

PS: Can you reproduce the issue with the core template and not using Page Builder?
Please post a rating at the Joomla! Extensions Directory
Jamie Gilbert's Avatar Jamie Gilbert
Confidential information:
(hidden)
Jamie Gilbert's Avatar Jamie Gilbert
Hi Peter

I don't believe the issue is with PageBuilder, as that code is the "same" between

The modules is
-NeedtoLoginAlert

I just changed it to be shown on "ALL PAGES" and now you can see it is shown TWICE on the page
inspiring-bouman.111-67-29-104.plesk.pag...print-hsv-aasa-event

So it would appear it's the problem is with IGNORING the PAGE settings with the "Module Assignment"

I also sent FTP Details for you now.

Thanks

Jamie
Peter van Westen's Avatar Peter van Westen ADMIN
The issue is with your syntax.

You are using:
{module id="321" position="slider"}
The 'position' attribute makes no sense there and conflicts with the id attribute.
You should simply use:
{module id="321"}

You are for some reason also outputting the whole module position after that with:
{modulepos position="slider"}
But the slider position only contains that module 321, which will not show as it is not assigned to any pages. So why have that modulepos tag there?
Please post a rating at the Joomla! Extensions Directory
Jamie Gilbert's Avatar Jamie Gilbert
aha, interesting, so the previous parsing logic dealt with my incorrect syntax, I can't remember any logic, or thinking around this too long ago now.

However as you suggested replace it with a single {module id="321"} call and it works!!

Thanks very much for that, sorry that it ended with a mistake on our side, but it was interesiting to see I guess the different parsing logic on your side as others might have mis-used the sytax also.

Thanks again

Cheers

Jamie
Peter van Westen's Avatar Peter van Westen ADMIN
Happy you have it working now!
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in