-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with the button position #139
Comments
Which browser do you use? According to the screenshot, the problem is found on a mobile application? |
I get this problem with all devices. I tested:
|
I tested some other things. I set the debugging message to DEVELOPER and I got no warnings from the MoodleBox tool and no warnings from other plugins. In the MoodleBox settings I activated also the option "Show date and time setting in footer" and both button options were placed on the top of some admin pages. I tested if the option "Restart MoodleBox" really restarts it ... yes, it does. And after the MoodleBox is restarted the buttons are still on the top of these some admin pages. |
How does the plugin put in the buttons to the page footer? |
See function
No and no. |
With the release of Moodle 4.4, some functions have been deprecated. We've had to rewrite some of the code to ensure compatibility, but placement is a problem. I'm going to see if manipulating the DOM in javascript might allow more efficient (stable) placement. |
For the moment, investigations show that the buttons are not positioned correctly on all pages where the $output->footer() function is not used as usual.
You seem to have listed the 3 pages concerned (others are intended to be called up indirectly).
Content of the page is build after footer call! |
Testing the new version of tool_moodlebox I found that on some pages the additional MoodleBox support buttons are switching into the top line. You can see this on the following pages.
http://moodlebox.home/admin/index.php?cache=1
http://moodlebox.home/admin/plugins.php
http://moodlebox.home/admin/environment.php
I can‘t say If we can see the problem only on admin pages.
I 'm using a Raspberry Pi 4B (4GB RAM), Moodle 4.4.1 (20240809), and the MoodleBox tool 2.18.0 (2024080700).
The text was updated successfully, but these errors were encountered: