Attached above, you have the actual files operative for both Moodle versions 1.5 and 1.6
InsertText inserts files that are pure text or html into the htmlArea at the cursor position. These files may be in the course folder (accessible by all teachers) or in the user´s folders, both at the server.
The code is operatively finished except for this last ability. It doesn't modify any Moodle tables and can be reversibly removed. But don't test it in production servers until be sure.
Nevertheless, it may have some bugs and it can also be tuned. So, I wait for your comments and suggestions.
|put modified or new files in :|
When you say "in the user's folder, both at the server."
this indicates that each user has a private files area. If this is the case how do they access it.
I know this is of topic but I have been looking for a private (from other students) file area and have been unable to find one. Thanks for any help.
In the popup image, user's folder is marked in cyan. You can delete, move, zip and rename files and folders. Of course, you can create folders and upload files.
The one in red is what doesn't work. The browse button works, but not the show & set.
I've cleaned the code and removed a dirty line, in IE opinion, that prevented it to show up.
Insertion of text from a local file, has been a pain in the neck and it is done using ActiveX. And through IE, it is perfect now. Using Netscape 7.1 <-> 22.214.171.124 (that come with ActiveX), you must set first the preferences to enable ActiveX. Using Mozilla, Firefox and Opera you must install the plug-in and enable ActiveX, as well. I've installed it myself in Mozilla and it makes the job.
At this moment, there may be some bugs (you know they are always there!) but it is already for testing it and suggesting convenient uses of this tag.
I'm using it to insert tables, sheets with rubrics, long paragraphs, etc. that save me a lot of typing. Please, tell me about your uses.
I put the files in the correct folders, meaning not lib/editor/ but lib/editor/htmlarea/
so that is not the problem, and i made sure to clear my cache before trying it, but the problem remains.
Any help would be very appreciated. Thanks.