FYI: Import images hack - Retested

Re: FYI: Import images hack - Retested

by Chris Collman -
Number of replies: 0
Picture of Documentation writers
For all you MoodleFans who are not afraid to hack or lose the "most beautiful interface" contest.

It was not rocket science stuff to figure out how to add the importIMG.php link to both the opening screen (import questions, import PowerPoint, add branch table etc), and to the links that separate pages in expanded edit view in 1.8.2. Suspect it will work in 1.8_latest. No idea about 1.9 but a 1.8 lesson will restore to a 1.9 site.wink

Now that is real handy. Teachers can add 3 pictures in a zip file here, 10 pictures from another zip file there with automatic page creation at that point.

In a couple of weeks, I will revisit this for 1.9 latest and see if it works or what it will take to work. I will also figure out where to add a "ImportIMG" string to get rid of those [ ] brackets.

And for people who have mastered importppt, you can apply the same concept (hack) to that function in edit.php and locallib.php by looking at MDL-10513 down in the comments.

As always I recommend these hacks be done on a standalone (complete install package) Moodle.

Back to my honeydew list for the weekend and then more cut and pasting of text.

Chris