Joomdle 2.x Installation

Moodle 4

  • Web Buster UK Ltd
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 1 week ago #1 by Web Buster UK Ltd
Moodle 4 was created by Web Buster UK Ltd
Just before we upgrade, can I just check? Does Joomdle 2 support Moodle 4?

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #2 by Antonio Durán
Replied by Antonio Durán on topic Moodle 4
Hi.

I have only done limited testing on Moodle 4, but all basic features seem to be working fine:
- Course listing
- User sync
- Single Sign On
- Course enrolments
- Wrapper

Please let us know if you test and find any issues.

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #3 by atoscadmin
Replied by atoscadmin on topic Moodle 4

Antonio Durán wrote: Hi.

I have only done limited testing on Moodle 4, but all basic features seem to be working fine:
- Course listing
- User sync
- Single Sign On
- Course enrolments
- Wrapper

Please let us know if you test and find any issues.


Hello Antonio-

I just upgraded to moodle 4.0 and now joomdle does not appear to be working. The complete joomdle frame appears within Joomla for a millisecond but then collapses into a small bar about 50px in height x 100% width. I would post a picture but there's nothing really to see.


I updated via cpanel softalicious and did nothing else to any of the environment settings. Running PHP 7.4, Joomla 4.1.2.

In moodle I found an 'Cron running' alert in system status with the following summary:
The admin/cli/cron.php script has not been run for 42 mins 55 secs and should run every 1 min.

Not sure if this has anything to do with it. Please help!

Ciao,
Rene

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago - 4 years 1 week ago #4 by atoscadmin
Replied by atoscadmin on topic Moodle 4
Ok- just a quick update as I've made some progress...

Perhaps not too surprising it appears the problem has something to do with the 'Autoheight in wrapper' in the Joomdle component on Joomla backend (Joomdle Component > Configuration > Links Behaviour).

The wrapper does not display correctly when 'Autoheight in wrapper' is set to 'Yes'. However if set to 'No' Moodle wrapper is integrated according to size set in 'wrapper height'.

I haven't tried 'Crossdomain Wrapper Autoheight' settings yet but if this is the better way to go I am willing to give it a try. Any suggestions?

Ciao,
Rene Rodriguez
Last edit: 4 years 1 week ago by atoscadmin.

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #5 by Antonio Durán
Replied by Antonio Durán on topic Moodle 4
Hi Rene.

Are you running Joomla and Moodle on 2 different domains? If so, you need to enable the cross-domain auto-height.

> However if set to 'No' Moodle is integrated (of course except for no wrapper).

If you set auto-height to No, it shows the wrapper with a fixed height.

Also, check that this is enabled:
www.joomdle.com/wiki/Installing_Joomdle_...mbedding_for_wrapper

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #6 by atoscadmin
Replied by atoscadmin on topic Moodle 4

Antonio Durán wrote:
Hi Rene.

Are you running Joomla and Moodle on 2 different domains? If so, you need to enable the cross-domain auto-height.


Hi Antonio,

No- both are on same domain, moodle is installed subfolder.

If you set auto-height to No, it shows the wrapper with a fixed height.

Also, check that this is enabled:
www.joomdle.com/wiki/Installing_Joomdle_...mbedding_for_wrapper


Yes, I do have this option enabled but the auto-height function is still not working as expected. Currently the only way I'm able to make wrapper appear in joomla is by setting auto-height to no and setting a fixed height. This is ok for now but would like to utilize the auto-height function if possible.

I will keep trying on my end; please let me know if you can think of anything else. Thank you very much for your help!

Ciao,

Rene

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #7 by Antonio Durán
Replied by Antonio Durán on topic Moodle 4
I have only tried on localhost, and the wrapper works fine in my tests.

What theme are you using in Moodle?

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #8 by atoscadmin
Replied by atoscadmin on topic Moodle 4

Antonio Durán wrote:
What theme are you using in Moodle?


I'm using boost theme with custom css modifications added to 'raw scss' option (appearance > themes > boost > advanced settings). I already tried deleting this, purged cache, and auto-height still didn't work.

Note that in Joomla I'm using cassiopeia theme with custom css modifications added to copy of default template.

-Rene

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago - 4 years 1 week ago #9 by atoscadmin
Replied by atoscadmin on topic Moodle 4
Also- if it helps any, I just inspected code on the front end- this appears to be the offending piece, specifically the <height="21">. That's exactly the size of the moodle wrapper when joomdle is set to auto-height.

<iframe id="blockrandom" class="autoHeight" src=" www.somewebsitename.com/ceus//?a=1&theme=boost " scrolling="no" onload="itspower(this, false, true, 20)" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" width="100%" height="21" frameborder="0" align="top">

Just be be clear, as far as I know I have no settings for 'auto-height' in my custom css setting on moodle or joomla. In other words, this is not something I included in my custom css.

Also worth noting that I have 'Wrapper Scroll Bars' set to 'no' under 'Links Behaviour' in Joomdle component, but the wrapper scroll bars are present unless I set 'auto-height' to 'no' and make the wrapper size large enough using the 'wrapper height' option.
Last edit: 4 years 1 week ago by atoscadmin.

Please Log in or Create an account to join the conversation.

More
4 years 6 days ago #10 by Antonio Durán
Replied by Antonio Durán on topic Moodle 4
Hi.

> I'm using boost theme with custom css modifications

I tested Boost and Classic and both are working fine for me. Can you test Classic to see if something changes?

> Also- if it helps any, I just inspected code on the front end- this appears to be the offending piece, specifically the <height="21">. That's exactly the size of the moodle wrapper when joomdle is set to auto-height.

This just indicates that the auto-height code is not able to correctly calculate height size.

> Also worth noting that I have 'Wrapper Scroll Bars' set to 'no' under 'Links Behaviour' in Joomdle component, but the wrapper scroll bars are present unless I set 'auto-height' to 'no' and make the wrapper size large enough using the 'wrapper height' option.

That's the expected behaviour.

I don't know why auto-height is not working for you after the upgrade....
Make sure you are not having a www vs non-www issue, although I guess this is fine as it was working before the upgrade:
www.joomdle.com/wiki/Category:FAQ#Why_do...king_on_SSO_links.3F

I have now made a new installation on a test server, and I can confirm that auto-height is working as expected there too.

Please Log in or Create an account to join the conversation.