-
Notifications
You must be signed in to change notification settings - Fork 24
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
My Overview Block's Tabs Don't Work #106
Comments
I think we found the same issue on the admin search tabs and have fixed this. @nyanginator can you please re-test with the latest code in git? |
just re-downloaded, still same problem. Admin tabs work fine, but not Dashboard. |
Ah sorry, can you retry using this branch: https://github.com/brendanheywood/moodle-local_cleanurls/tree/development |
yup, looks like it's working now! |
ok just a heads up that we have a long running dev branch with some fairly major changes in it. We will merge back once it is all stable probably a couple weeks away. Feel free to use at your own risk :) |
On the newly revamped Moodle 3.3 Dashboard, the "myoverview" block is now used in place of "courseoverview". There are tabs for Courses, Timeline, Sort by Date, Sort by Courses, In Progress, Future, and Past. None of these tabs are working when Clean URLs is enabled. Nothing happens when they are clicked, except in Chrome, where this browser error shows sometimes:
I tried searching for the error, resulting in this thread https://moodle.org/mod/forum/discuss.php?d=344183#p1391626, which mentions removing the # to make the error go away. Ignoring links with # is how I did the quick fix in #104 (comment).
For this My Overview block case, I couldn't find any # signs in the $this->originalurl link, so my quick fix for this involved cleaning only course and mod URLs on the Dashboard page in /local/cleanurls/classes/local/cleaner/cleaner.php:
Hope this info is helpful in pinpointing the underlying issue.
The text was updated successfully, but these errors were encountered: