Aportación realizada por Joseph Rézeau

Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Hi Michael!

I am also confronted to the nuisance of MSIE's over-zealous "XHTML conversion" of the <nolink> </nolink> tags to <nolink /></nolink />.

The hack you suggest in your  10 June 2004 message does work but:

  1. it is rather annoying to have to convert by hand all the previously entered <nolink> </nolink> tags to <nolink /></nolink />;
  2. it has the unwelcome side effect of making all Glossary entry words appear as hyperlinks (this is because the Glossary entries are automatically provided with a <nolink> Entry</nolink> tag by Moodle, which is now no longer functional because of the hack!

I have found another workaround which does not entail editing any of the Moodle core files. Here it is. If you have to use the Moodle Richtext HTML editor for entering text (for example when entering a new Glossary entry):

  1. Type your text in the WYSIWYG mode.
  2. Go to HTML Source mode
  3. type the <nolink></nolink> tags where you want them
  4. DO NOT GO BACK to  WYSIWYG mode (if you do, MSIE will rewrite your <nolink> tags)
  5. Click on "Save Changes"... et voila!
  6. Unfortunately, however, if you have to Edit that Glossary definition later on, you will find when switching to WYSIWYG mode that your nolink tags have been rewritten (by MSIE), and you'll have to set them right once more...

This whole business is rather a nuisance anyway, and one can avoid it by switching from MSIE to a Mozilla browser.

On another note, I agree with Françoise Blin that Moodle is overdoing the automatic linking. There are a number of cases where in fact I would rather like NOLINK to be the default mode and to have to decide myself which words - or which parts of my documents - would be hyperlinked, rather than the reverse. One is never happy!

All the best,

Joseph_R

Moodle in English -> Glossary -> Browsing glossary - Jump to page...

de Joseph Rézeau -
Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Hello!

I am using two very similar versions of Moodle 1.4.2 which display slightly different ways of browsing the Glossary pages. I am using the cornflower theme, Windows XP & Internet Explorer.

Version A moodle 1.4.2+ (2004083126)

Browse the glossary using this index
Special | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O
P | Q | R | S | T | U | V | W | X | Y | Z | ALL

--------------------------------------------------------------------------------
Jump to... ALL | 1 | 2 | 3 | 4 | 5 | 6

Version B: moodle 1.4.2+ (2004083129)

Browse the glossary using this index

Special | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O
P | Q | R | S | T | U | V | W | X | Y | Z | ALL

--------------------------------------------------------------------------------
Page: (Previous)   1  2  3  4  5  6  (Next)
                          ALL
In both environments the display settings are exactly the same, as follows:

Display format:
 Simple, dictionary style  
Show 'Special' link: Yes
Show alphabet:  Yes
Show 'ALL' link: Yes

Why do I get those different browsing displays? I would like to set it to look like the one in Version B, i.e. with the Page: (Previous) ... (Next) display, which I find more "standard" behaviour than that in Version A. What should I do ?

Joseph_R

Promedio de valoraciones: -
Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Hi Matt (and Bob)

After having used WebCT for the past 3 years our institution has decided to go for Moodle next year. Among the facilities I have come to find quite indispensable in the WebCT environment, WebDAV support ranks quite high. I can't be bothered to zip files to post them to my "course space" on a Moode server and unzip them there, as I used to do in pre-WebDAV days! Not only do I want to be able to access my Moodle workspace in a transparent way "à la Windows Explorer" but I also want to be able to manage my Moodle space directly from Dreamweaver, the way I am doing now in WebCT.

I have no idea what is required in order to make WebDAV support a standard fixture of Moodle but I will be grateful to those who will make it possible.

Bob, what do you mean when you say "Dreamweaver doesn't work with SSL-enabled WebDAV connections" ? I take it that if at the moment I can manage my distant WebCT files through Dreamweaver it means I am accessing our university WebCT/WebDAV server with a NON SSL'enabled connection?

All the best,

Joseph_R

Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Hi James

Personally I use Paintshop Pro's Capture tool which suits all of my needs. The picture deterioration problem I have also noticed when pasting into Word is not - in my case - directly related to screen capture but rather to the transfer from the Graphics program to MS Word.

The solution I have found is as follows. In Paintshop Pro I select and copy the picture; I go to MS Word, I do NOT paste the picture straight away; rather I go to the Edit menu; click Paste Special; In the Paste Special dialog box, click Device Independent Bitmap, and then click OK.

Hope that helps,

Joseph_R

BELOW:

  • Top picture : screen capture directly pasted from PSP into MS Word (slightly shrinked & blurred)
  • Bottom picture: same picture pasted into MS Word as Paste Special DIB image

picture dump into MS Word

Moodle in English -> Lesson -> Lesson problem - Ereg Error -> Re: Lesson problem - Ereg Error

de Joseph Rézeau -
Imagen de Core developers Imagen de Plugin developers Imagen de Testers Imagen de Translators

Hi Philip!

This is in answer to your queries regarding correct answer analysis of student responses entered in the short answer exercise type of the Lesson module.

The correct way to match complex reponses to a short answer question is to use regular expressions. Mastering regular expressions is not so easy, but once you understand them they are a very powerful tool for answer analysis (which is what you are after).

Unfortunately, at the moment regular expressions are not implemented in the lesson module (nor in the Quiz module).

I have developed a working version of the lesson.php module which includes regular expressions and sent it to Ray some time in July. Ray, are you still interested in incorporating regular expressions into the Lesson Module ?

In the meantime, Philip, if you want to test the "power" of regular expressions, you can go to my testing page: http://rezeau.org/webCT/expandRegexpToString.htm

in the regExp box enter: int\s*\[\] dataArray\s*=\s*new int\s*\[\s*total\s*\]

in the String box, enter: int [] dataArray = new int [total]

Finally, the answer to your question of allowing any number of spaces (and no other characters) is dealt with by the \s* string in the REgular Expression to be matched (\s = ny single white-space character ; * = the preceding character 0 or infinite number of times)

Hope that helps,

Joseph_R