Posts made by Joseph Rézeau

Moodle in English -> General help -> PHP 5? -> Re: PHP 5?

by Joseph Rézeau -
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators
Hi John!
I've been running Moodle both 1.4.3 and 1.5DEV locally with PHP 5. There is a bug in 5.0.3 whith XML import, which ruins formatted Glossary entries . See thread http://moodle.org/mod/forum/discuss.php?d=18290
In order to avoid that bug you'll have to go for either PHP 5.0.2 or 5.0.4 (I'm using the latter with no pbs detected so far).

Joseph_R
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators
Thanks Audun, just what I needed to complete my little Javascript routine:
    t = Moodle_Time*1000;
    var now = new Date(t);
    year = now.getYear();
    month = now.getMonth()+1;
    day = now.getDate();
    hours = now.getHours();   
    minutes = now.getMinutes();   
    seconds = now.getSeconds();
    timestamp = year+'-'+month+'-'+day+' '+hours+':'+minutes+':'+seconds;

Joseph_R
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators
Test report of <span class="nolink"></span> in Moodle 1.5 dev.
  • Works OK in :
    • uploaded HTML file
    • composed Webpage
    • composed text page
  • Does not work in:
    • lessons (the <span class="nolink"></span> is automatically transformed into <span></span> upon display
    • glossary definitions
Joseph_R

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators
Hi
The introduction of the <span class="nolink"></span> tag is an excellent idea!smile

While we are on this topic, may I suggest the introduction of a <span class="link"></span> tag? Let me explain.
  1. I do appreciate the possibility of enabling automatic linking of resources to Glossary/ies entries. For my English courses, it is extremely useful.
  2. However, there are a fairly large number of cases when that automatic auto'linking is not wanted.
  3. OK, I know I can always use the <nolink></nolink> or the new <span class="nolink"></span> (which, I suppose, works more or less the same?).
  4. But I am still left with a number of cases where I would like an overall <nolink> effect for a whole document while enabling <link> in some passages only.
  5. What I would like to do is, e.g., to enclose my whole document in a <span class="nolink"></span> tag and still be able to enclose a few chosen parts of that document in a span class="link"></span> tag.
  6. Typically I need this for longish HTML pages with a high density of words appearing in the glossary/ies, or Lesson pages with the same density...
I hope that the above a) makes sense and b) is technically feasible wink.

Joseph_R