Reverse order of topics in each course (the last topic first)
Re: Reverse order of topics in each course (the last topic first)
There is a plugin, Weekly Format Reversed, that will do it, but it has not been updated since Moodle 2.5.
As an alternative, turn on editing mode in the course, then drag and drop the topics into the order you want them to appear.
Re: Reverse order of topics in each course (the last topic first)
I need help by code, I know that with this code I can update the order and other field but I do not get to make it work properly
but the problem is that sometimes appear orphan issues, or doubles the number of topics
Re: Reverse order of topics in each course (the last topic first)
Take a look at Gareth's Collapsed Topics format https://moodle.org/plugins/format_topcoll
I think it will do everything you want (and a lot more) and is actively developed by Gareth.
Specifically for your request about reversing the order of topics, see 'Current Topic First' in the plugin documentation, here:
https://docs.moodle.org/31/en/Collapsed_Topics_course_format#Structure_descriptions
Hope that helps
Richard
Re: Reverse order of topics in each course (the last topic first)
Re: Reverse order of topics in each course (the last topic first)
work in Moodle 3.1?
Re: Reverse order of topics in each course (the last topic first)
@Just H, Thanks man, Work good in Moodle 3.1
Re: Reverse order of topics in each course (the last topic first)
Error with update titles of courses:
Error code: inplaceeditableerror
Re: Reverse order of topics in each course (the last topic first)
That sucks, I'm thinking about upgrading soon to 3.1 (still on 2.8 at the moment).
A quick google led me to the language file for that error string but doesn't help me (not a dev):
$string['inplaceeditableerror'] = 'Error calling update processor';
If you turn full debugging on does it give any more pointers to what the issue may be?
Re: Reverse order of topics in each course (the last topic first)
Active mode DEVELOPMENT,
when I edit the text and pressed the Enter key shows me that message,
You develop this plugin?
You give me guidance on how it could try to repair it?
regards
Re: Reverse order of topics in each course (the last topic first)
"You develop this plugin?"
I wish (in fact I wish I had the skills to develop any plugin!). Perhaps the best way to get an answer is to post a bug report on the github page (not familiar with the person who "owns" that github so not sure if he or she is active in the forums here).
In fact, just had a look into it again and the developers are in fact fairly prolific on moodle.org with quite a few plugins in the database (sadly not topics reversed though).
Re: Reverse order of topics in each course (the last topic first)
I still have the problem,
I can not solve the problem, I tried even add a script to prevent click for quick editing and have not been successful, moodle is complicated
Re: Reverse order of topics in each course (the last topic first)
Just posted a link in the bug report you posted in github to what I believe is how to fix it (as mentioned, I'm not a dev so no idea what it is explaining unfortunately). Hopefully the devs there will notice and get it sorted soon or if you have coding skills maybe it makes sense to you: https://docs.moodle.org/dev/Inplace_editable.
Re: Reverse order of topics in each course (the last topic first)
@Sebastian Snayder, moodle-format_topicsrev code has been updated to fix this issue. Please use the latest code from https://github.com/vidyamantra/moodle-format_topicsrev.