<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>General developer forum</title>
    <link>http://moodle.org/mod/forum/view.php?f=33</link>
    <description>&lt;p&gt;This &lt;span class=&quot;nolink&quot;&gt;forum&lt;/span&gt; is for general developer news or issues that don't fit into any of the other &lt;span class=&quot;nolink&quot;&gt;forums&lt;/span&gt;!&lt;/p&gt; 
&lt;p&gt;Before posting, please make sure there is not a more appropriate forum you could be using. In particular, please use the General problems forum if you're having problems with your Moodle site, and the Moodle tracker to report bugs.&lt;/p&gt; 
&lt;p&gt;Please check out the Developer documentation and the Developer FAQ too.&lt;/p&gt;</description>
    <generator>Moodle</generator>
    <copyright>&amp;#169; 2009 Moodle.org</copyright>
    <image>
      <url>http://moodle.org/pix/i/rsssitelogo.gif</url>
      <title>moodle</title>
      <link>http://moodle.org</link>
      <width>140</width>
      <height>35</height>
    </image>
    <item>
      <category>Getting the list of courses for a teacher (with access to gradebook)</category>
      <title>Re: Getting the list of courses for a teacher (with access to gradebook)</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138493&amp;parent=604483</link>
      <pubDate>Mon, 23 Nov 2009 15:08:55 GMT</pubDate>
      <dc:creator>Hubert Chathi</dc:creator>
      <description>by Hubert Chathi. &amp;nbsp;&lt;p&gt;&lt;p&gt;Without knowing more about what you're trying to do, if it's gradebook-related, perhaps the moodle/grade:edit, moodle/grade:manage, or moodle/grade:viewall capabilities are what you want to check?&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138493&amp;parent=604483</guid>
    </item>
    <item>
      <category>Modules in 2.0 Require &quot;intro&quot; field?</category>
      <title>Re: Modules in 2.0 Require &quot;intro&quot; field?</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138410&amp;parent=604447</link>
      <pubDate>Mon, 23 Nov 2009 13:57:42 GMT</pubDate>
      <dc:creator>Mike Churchward</dc:creator>
      <description>by Mike Churchward. &amp;nbsp;&lt;p&gt; Renaming just means finding all the places in the code that use the old name and changing it (probably not many - view, index, backup/restore and the form). And, adding elements to the restore library to deal with the old uses. And changing the &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: database&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=database&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=database', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;database&lt;/a&gt; scripts. All doable - just have to be done.&lt;br /&gt;&lt;br /&gt;Is the &amp;quot;introformat&amp;quot; also required as well?&lt;br /&gt;&lt;br /&gt;Not sure this documented anywhere in the 2.0 module migration pages though. This will impact a lot of third-party modules (all in fact if &amp;quot;introformat&amp;quot; is required too).&lt;br /&gt;&lt;br /&gt;mike&lt;br /&gt; &lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138410&amp;parent=604447</guid>
    </item>
    <item>
      <category>Best backuplib and restorelib to copy for new module</category>
      <title>Re: Best backuplib and restorelib to copy for new module</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138499&amp;parent=604445</link>
      <pubDate>Mon, 23 Nov 2009 13:51:24 GMT</pubDate>
      <dc:creator>Matt Bury</dc:creator>
      <description>by Matt Bury. &amp;nbsp;&lt;p&gt;&lt;p&gt;So does this mean that if I have a course with activity modules on a testing &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: server&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=server&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=server', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;server&lt;/a&gt; (i.e. &lt;a href=&quot;http://localhost/&quot; target=&quot;_blank&quot;&gt;http://localhost/&lt;/a&gt;), and I back it up and then restore it to a public server (i.e. &lt;a href=&quot;http://mysite.com/&quot; target=&quot;_blank&quot;&gt;http://mysite.com/&lt;/a&gt;), that Moodle will rewrite any site specific URLs? That sounds good!&lt;br /&gt;
&lt;br /&gt;
I'm guessing from the code of the modules I'm looking at, that you have to specify which text areas to check and convert, hence the bit of &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: SQL&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=SQL&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=SQL', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;SQL&lt;/a&gt;: &quot;SELECT r.id, r.alltext, r.summary, r.reference&lt;br /&gt;
FROM {$CFG-&amp;gt;prefix}resource r&lt;br /&gt;
WHERE r.course = $restore-&amp;gt;course_id&quot;, and the following code. Is that right?&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138499&amp;parent=604445</guid>
    </item>
    <item>
      <category>&quot;Google Closure: How not to write JavaScript&quot;</category>
      <title>Re: &quot;Google Closure: How not to write JavaScript&quot;</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138184&amp;parent=604441</link>

<enclosure url='http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=PHP' type='text/plain' />
      <pubDate>Mon, 23 Nov 2009 13:32:45 GMT</pubDate>
      <dc:creator>sam marshall</dc:creator>
      <description>by sam marshall. &amp;nbsp;&lt;p&gt;My opinion remains that micro-optimising code for a particular compiler (or lack of compiler) is usually not a good idea. If the compiler changes - for example, if switch is now faster than a hand-rolled jump table - you've made the code worse, and probably slower into the bargain. Leave micro-optimisation to the people who build compilers - it's their job. &lt;br /&gt;&lt;br /&gt;Instead, if required, worry about larger optimisation, like (at the CPU side) 'should this data structure be a hashtable instead of just a list' or (higher-level still) 'can i achieve this with a fewer &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: database&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=database&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=database', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;database&lt;/a&gt; queries'. The compiler can't optimise those decisions away for you - and in most cases, structuring your code to achieve these optimisations is actually part of working to ensure a clear organisation of code (rather than obfuscating it, as some micro-optimisations can do).&lt;br /&gt;&lt;br /&gt;&lt;a class=&quot;glossary autolink glossaryid27&quot; title=&quot;Links to interesting resources: PHP&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=PHP&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=PHP', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;PHP&lt;/a&gt; is maybe an argument against this way of thinking because it's so appallingly slow (in cpu terms) that we might see it like back in the days when you'd hand-craft assembly in the middle of your C routine because you could do a better job than the compiler. (Yes I have done that - nowadays, (a) you don't need to, and (b) the compiler has a good chance of doing it better - it may depend on the exact cpu you're running on, etc.) &lt;br /&gt;&lt;br /&gt;But even in PHP, I've never really had problems with cpu use. When developers on my team produce code that's not 'sweetly performing' it tends to be because they've made said code, e.g, run one database query for every single line in the log table, or something. &lt;img alt=&quot;smile&quot; width=&quot;15&quot; height=&quot;15&quot; src=&quot;http://moodle.org/pix/s/smiley.gif&quot; /&gt; [Naming no names...] Not because they've done for($i=0; $i&amp;lt;count($a); $i++).&lt;br /&gt;&lt;br /&gt;--sam&lt;br /&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138184&amp;parent=604441</guid>
    </item>
    <item>
      <category>deployment: how to empty the database up</category>
      <title>Re: deployment: how to empty the database up</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604432</link>
      <pubDate>Mon, 23 Nov 2009 13:20:28 GMT</pubDate>
      <dc:creator>Frank Ralf</dc:creator>
      <description>by Frank Ralf. &amp;nbsp;&lt;p&gt;&lt;p&gt;You might find some more information via &lt;a href=&quot;http://docs.moodle.org/en/Database_FAQ&quot; title=&quot;Moodle Docs: Database FAQ&quot;&gt;Database FAQ&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Frank&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604432</guid>
    </item>
    <item>
      <category>missing shortcut in ECLIPSE</category>
      <title>Re: missing shortcut in ECLIPSE</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138414&amp;parent=604412</link>

<enclosure url='http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=PHP' type='text/plain' />

<enclosure url='http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=Java' type='text/plain' />
      <pubDate>Mon, 23 Nov 2009 12:30:40 GMT</pubDate>
      <dc:creator>sam marshall</dc:creator>
      <description>by sam marshall. &amp;nbsp;&lt;p&gt; I am running Eclipse 3.5.1 with 'EPP &lt;a class=&quot;glossary autolink glossaryid27&quot; title=&quot;Links to interesting resources: PHP&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=PHP&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=PHP', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;PHP&lt;/a&gt; Feature' 1.2.1, which I think is latest last I looked. I can confirm it doesn't do what you suggest (i.e. change the selection to include code between the braces). Like Tim I also never knew it did that.&lt;br /&gt;&lt;br /&gt;The behaviour does still work when editing &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: Java&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=Java&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=Java', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;Java&lt;/a&gt; files in the same version of Eclipse, so I presume this change is a PHP issue rather than an Eclipse one.&lt;br /&gt;&lt;br /&gt;When (single) clicking to place the cursor immediately after an opening brace, I do see the following:&lt;br /&gt;&lt;br /&gt;a) The matching brace is indicated with a grey box.&lt;br /&gt;&lt;br /&gt;b) [When using object-oriented code] The extent of the current function is highlighted (blue dotted pattern) in the left-hand ruler. (Actually, this should apply wherever you click, but it doesn't always do so, due to, erm, other bugs.)&lt;br /&gt;&lt;br /&gt;--sam&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138414&amp;parent=604412</guid>
    </item>
    <item>
      <category>deployment: how to empty the database up</category>
      <title>Re: deployment: how to empty the database up</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604411</link>
      <pubDate>Mon, 23 Nov 2009 12:26:58 GMT</pubDate>
      <dc:creator>D 2G</dc:creator>
      <description>by D 2G. &amp;nbsp;&lt;p&gt;&lt;p&gt;&lt;br /&gt;
 Thank you both for the tips.&lt;br /&gt;
&lt;br /&gt;
 Tim, that looks awesome. This is exactly what I need if I understood how it works. Moodle, on the installation will do it by itself once I have generated the corresponding files(I have done a test and looks easy at a first glance) as referred to on the doc through the XMLDB editor. &lt;br /&gt;
&lt;br /&gt;
 Frank, What I was looking for was the way of leaving the &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: database&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=database&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=database', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;database&lt;/a&gt; as it is once you have installed moodle, that is to say, with the information needed to have moodle up and running.  &lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
 &lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604411</guid>
    </item>
    <item>
      <category>deployment: how to empty the database up</category>
      <title>Re: deployment: how to empty the database up</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604402</link>
      <pubDate>Mon, 23 Nov 2009 11:49:23 GMT</pubDate>
      <dc:creator>Frank Ralf</dc:creator>
      <description>by Frank Ralf. &amp;nbsp;&lt;p&gt;&lt;p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
phpMyAdmin provides the option to backup only the structure of your &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: database&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=database&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=database', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;database&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
6.4 How can I backup my database or table?&lt;br /&gt;
&lt;br /&gt;
&quot;Click on a database or table name in the left frame, the properties will be displayed. Then on the menu, click &quot;Export&quot;, you can dump the structure, the data, or both. This will generate standard &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: SQL&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=SQL&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=SQL', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;SQL&lt;/a&gt; statements that can be used to recreate your database/table.&quot;&lt;br /&gt;
&lt;a href=&quot;http://www.phpmyadmin.net/documentation/#faq6_4&quot; target=&quot;_blank&quot;&gt;http://www.phpmyadmin.net/documentation/#faq6_4&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
hth&lt;br /&gt;
Frank&lt;br /&gt;
&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604402</guid>
    </item>
    <item>
      <category>NanoGong and 1.9.5 (Solution)</category>
      <title>Re: NanoGong and 1.9.5 (Solution)</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=129803&amp;parent=604395</link>
      <pubDate>Mon, 23 Nov 2009 11:06:04 GMT</pubDate>
      <dc:creator>Nicolas Dunand</dc:creator>
      <description>by Nicolas Dunand. &amp;nbsp;&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thanks for the feedback. You're very welcome.&lt;br /&gt; &lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=129803&amp;parent=604395</guid>
    </item>
    <item>
      <category>deployment: how to empty the database up</category>
      <title>Re: deployment: how to empty the database up</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604392</link>

<enclosure url='http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=Moodle+Docs' type='application/x-csh' />
      <pubDate>Mon, 23 Nov 2009 11:01:52 GMT</pubDate>
      <dc:creator>Tim Hunt</dc:creator>
      <description>by Tim Hunt. &amp;nbsp;&lt;p&gt;Hopefully this page: &lt;a href=&quot;http://docs.moodle.org/en/Development:Installing_and_upgrading_plugin_database_tables&quot; title=&quot;Moodle Docs: Development:Installing_and_upgrading_plugin_database_tables&quot;&gt;Development:Installing_and_upgrading_plugin_database_tables&lt;/a&gt; on &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: Moodle Docs&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=Moodle+Docs&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=Moodle+Docs', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;Moodle Docs&lt;/a&gt; answers your question. If not, get back to us with more questions.&lt;br /&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604392</guid>
    </item>
    <item>
      <category>deployment: how to empty the database up</category>
      <title>deployment: how to empty the database up</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604388</link>
      <pubDate>Mon, 23 Nov 2009 10:49:03 GMT</pubDate>
      <dc:creator>D 2G</dc:creator>
      <description>by D 2G. &amp;nbsp;&lt;p&gt;&lt;p&gt;&lt;br /&gt;
 Hi all,&lt;br /&gt;
&lt;br /&gt;
 I have been developing a few extra things that we needed for Moodle through a SVN.  My questions are:&lt;br /&gt;
&lt;br /&gt;
 1.- I have modified the &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: database&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=database&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=database', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;database&lt;/a&gt; as well as the code. The moodledata directory is not important at this stage. How could I deploy the whole system with a clean database as if it was the first time I installed Moodle. Obviosly this database has to keep the changes that I have done.&lt;br /&gt;
&lt;br /&gt;
 Solution 1:&lt;br /&gt;
&lt;br /&gt;
 I run a &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: MySQL&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=MySQL&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=MySQL', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;mysql&lt;/a&gt; script with the alter clauses for those tables, once the installation is done.---&amp;gt; I afraid I would to make the manually because it does not exist such a script.&lt;br /&gt;
&lt;br /&gt;
 Solution 2&lt;br /&gt;
&lt;br /&gt;
 I deploy everything and empty up the database so that it appears as it was just one second right after I finished a fresh installation but with the structures changes in the database. The million dollar question is, How could I achieve this please?&lt;br /&gt;
&lt;br /&gt;
 Thanks in advance.&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138533&amp;parent=604388</guid>
    </item>
    <item>
      <category>Best backuplib and restorelib to copy for new module</category>
      <title>Re: Best backuplib and restorelib to copy for new module</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138499&amp;parent=604382</link>
      <pubDate>Mon, 23 Nov 2009 10:29:11 GMT</pubDate>
      <dc:creator>Mihai Sucan</dc:creator>
      <description>by Mihai Sucan. &amp;nbsp;&lt;p&gt;&lt;p&gt;I have worked with the Moodle backup/restore code myself these days.&lt;br /&gt;
&lt;br /&gt;
If I am not mistaken, the restore_decode_content_links() function handles the rewriting of URLs in all text fields of all modules, blocks, courses, etc. Basically, when you backup something the URLs are those pointing to your Moodle installation. However, when you restore the data, Moodle performs &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: URL&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=URL&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=URL', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;URL&lt;/a&gt; rewriting such that you don't get broken links - they will point to the new Moodle installation address.&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138499&amp;parent=604382</guid>
    </item>
    <item>
      <category>where to find the navigation menu</category>
      <title>Re: where to find the navigation menu</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138470&amp;parent=604352</link>
      <pubDate>Mon, 23 Nov 2009 06:20:05 GMT</pubDate>
      <dc:creator>Murad Jamal</dc:creator>
      <description>by Murad Jamal. &amp;nbsp;&lt;p&gt;thank you Frank for your kind help&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138470&amp;parent=604352</guid>
    </item>
    <item>
      <category>Moodle Messaging 2.0</category>
      <title>Re: Moodle Messaging 2.0</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138335&amp;parent=604350</link>
      <pubDate>Mon, 23 Nov 2009 05:59:47 GMT</pubDate>
      <dc:creator>Stuart Mealor</dc:creator>
      <description>by Stuart Mealor. &amp;nbsp;&lt;p&gt;Judging by the number of positive comments here (http://moodle.org/mod/forum/discuss.php?d=137041) I believe there is great interest in an improved Messaging module - one that follows Moodle coding standards etc.&lt;br /&gt;&lt;br /&gt;This is actually quite a low-visibility area, many teachers would not even see this conversation because they do not install non-standard mods.&lt;br /&gt;&lt;br /&gt;If this project could be developed to a position where it could be included in core I would not anticipate many users saying &amp;quot;No, we do not want these improvements&amp;quot; !?!?&lt;br /&gt;&lt;br /&gt;Stu&lt;br /&gt; &lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138335&amp;parent=604350</guid>
    </item>
    <item>
      <category>Adding a Icon to Blocktitle</category>
      <title>Re: Adding a Icon to Blocktitle</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138056&amp;parent=604348</link>
      <pubDate>Mon, 23 Nov 2009 05:39:49 GMT</pubDate>
      <dc:creator>Filzah Alwi</dc:creator>
      <description>by Filzah Alwi. &amp;nbsp;&lt;p&gt;&lt;p&gt;Hey, can anyone help me with the same problem Heidi is facing?&lt;/p&gt;
&lt;p&gt;regarding putting icons to blocktitle?&lt;/p&gt;
&lt;p&gt;i really do need help as my coding skill is very poor.&lt;/p&gt;
&lt;p&gt;can anyone give me a very specific solution?&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138056&amp;parent=604348</guid>
    </item>
    <item>
      <category>Best backuplib and restorelib to copy for new module</category>
      <title>Re: Best backuplib and restorelib to copy for new module</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138499&amp;parent=604330</link>

<enclosure url='http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=XML' type='application/xml' />
      <pubDate>Mon, 23 Nov 2009 01:38:48 GMT</pubDate>
      <dc:creator>Matt Bury</dc:creator>
      <description>by Matt Bury. &amp;nbsp;&lt;p&gt;&lt;p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I've managed to get backuplib.php to work. I had a look at /label/ and /resource/ modules and worked it out from there. I've looked at the generated moodle.&lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: XML&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=XML&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=XML', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;xml&lt;/a&gt; file and the data from the FLV Player module instances is there, as expected.&lt;br /&gt;
&lt;br /&gt;
I'm curious about this part of restorelib.php:&lt;br /&gt;
&lt;br /&gt;
function resource_decode_content_links_caller($restore) {&lt;br /&gt;
        global $CFG;&lt;br /&gt;
        $status = true;&lt;br /&gt;
&lt;br /&gt;
        if ($resources = get_records_&lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: SQL&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=SQL&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=SQL', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;sql&lt;/a&gt; (&quot;SELECT r.id, r.alltext, r.summary, r.reference&lt;br /&gt;
                                   FROM {$CFG-&amp;gt;prefix}resource r&lt;br /&gt;
                                   WHERE r.course = $restore-&amp;gt;course_id&quot;)) {&lt;br /&gt;
&lt;br /&gt;
            $i = 0;   //Counter to send some output to the browser to avoid timeouts&lt;br /&gt;
            foreach ($resources as $resource) {&lt;br /&gt;
                //Increment counter&lt;br /&gt;
                $i++;&lt;br /&gt;
                $content1 = $resource-&amp;gt;alltext;&lt;br /&gt;
                $content2 = $resource-&amp;gt;summary;&lt;br /&gt;
                $content3 = $resource-&amp;gt;reference;&lt;br /&gt;
                $result1 = restore_decode_content_links_worker($content1,$restore);&lt;br /&gt;
                $result2 = restore_decode_content_links_worker($content2,$restore);&lt;br /&gt;
                $result3 = restore_decode_content_links_worker($content3,$restore);&lt;br /&gt;
&lt;br /&gt;
                if ($result1 != $content1 || $result2 != $content2 ||  $result3 != $content3) {&lt;br /&gt;
                    //Update record&lt;br /&gt;
                    $resource-&amp;gt;alltext = addslashes($result1);&lt;br /&gt;
                    $resource-&amp;gt;summary = addslashes($result2);&lt;br /&gt;
                    $resource-&amp;gt;reference = addslashes($result3);&lt;br /&gt;
                    $status = update_record(&quot;resource&quot;,$resource);&lt;br /&gt;
                    if (debugging()) {&lt;br /&gt;
                        if (!defined('RESTORE_SILENTLY')) {&lt;br /&gt;
                            echo '&lt;br /&gt;&lt;hr /&gt;'.s($content1).'&lt;br /&gt;changed to&lt;br /&gt;'.s($result1).'&lt;hr /&gt;&lt;br /&gt;';&lt;br /&gt;
                            echo '&lt;br /&gt;&lt;hr /&gt;'.s($content2).'&lt;br /&gt;changed to&lt;br /&gt;'.s($result2).'&lt;hr /&gt;&lt;br /&gt;';&lt;br /&gt;
                            echo '&lt;br /&gt;&lt;hr /&gt;'.s($content3).'&lt;br /&gt;changed to&lt;br /&gt;'.s($result3).'&lt;hr /&gt;&lt;br /&gt;';&lt;br /&gt;
                        }&lt;br /&gt;
                    }&lt;br /&gt;
                }&lt;br /&gt;
                //Do some output&lt;br /&gt;
                if (($i+1) % 5 == 0) {&lt;br /&gt;
                    if (!defined('RESTORE_SILENTLY')) {&lt;br /&gt;
                        echo &quot;.&quot;;&lt;br /&gt;
                        if (($i+1) % 100 == 0) {&lt;br /&gt;
                            echo &quot;&lt;br /&gt;&quot;;&lt;br /&gt;
                        }&lt;br /&gt;
                    }&lt;br /&gt;
                    backup_flush(300);&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        return $status;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
What does this function do exactly? Is this for handling/filtering the contents of certain types of DB field? An explanation or a link to the relevant docs would be great.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance! &lt;img alt=&quot;smile&quot; width=&quot;15&quot; height=&quot;15&quot; src=&quot;http://moodle.org/pix/s/smiley.gif&quot; /&gt;&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138499&amp;parent=604330</guid>
    </item>
    <item>
      <category>scorm freezing up</category>
      <title>scorm freezing up</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138510&amp;parent=604315</link>

<enclosure url='http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=SCORM' type='audio/x-pn-realaudio-plugin' />
      <pubDate>Mon, 23 Nov 2009 00:02:24 GMT</pubDate>
      <dc:creator>sue jones</dc:creator>
      <description>by sue jones. &amp;nbsp;&lt;p&gt;&lt;p&gt;I am using metamorphosis to create a &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: SCORM&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=SCORM&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=SCORM', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;scorm&lt;/a&gt;, and some people have no problems but other have issues with the freezing.&lt;/p&gt;
&lt;p&gt;I have put the links for IE8 and Flash 10 on the front screen, however there are still problems with the freezing and it is all over the place can be half way through the presentation or half way through the questions and in different lessons.&lt;/p&gt;
&lt;p&gt;do I need to tell them to enable &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: Javascript&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=Javascript&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=Javascript', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;javascript&lt;/a&gt; and pop ups?  My mine site is presenting this for the first time tomorrow. and we need to have it working.&lt;/p&gt;
&lt;p&gt;Is there anything to do through moodle or would it be the metamorphosis talking to moodle issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138510&amp;parent=604315</guid>
    </item>
    <item>
      <category>Curriculum Mapping</category>
      <title>Re: Curriculum Mapping</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=110759&amp;parent=604276</link>
      <pubDate>Sun, 22 Nov 2009 20:18:17 GMT</pubDate>
      <dc:creator>Ralf Hilgenstock</dc:creator>
      <description>by Ralf Hilgenstock. &amp;nbsp;&lt;p&gt;Dear Ravishankar,&lt;br /&gt;&lt;br /&gt;I agree with you when you say that we have to look for the audience. In German Primary schools students learn in class 1-4 to work with weekly learning plans. up to 50 % of the learning time they work in such a way. But this is a special situation in primaries. In the next years at school this isn't a standard learning situation.&lt;br /&gt;&lt;br /&gt;If we add only one learning tasks to a competency it will lead students. But normally you don't get a competency with one activity. Often it is a combination and sometimes its combined with non formal learning &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: activities&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=activities&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=activities', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;activities&lt;/a&gt; outside of school.&lt;br /&gt;&lt;br /&gt;Did you see the plans for dependencies of activities in Moodle 2.0. You can define exactly what a student should have done if he will start an activitiy or read an ressource. This is exactly what is defined as learning path. &lt;br /&gt;And did you see the LAMS system http://wiki.lamsfoundation.org/display/lams/Home? You can integrate it as a course format or as an activity in Moodle.&lt;br /&gt;&lt;br /&gt;Ralf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=110759&amp;parent=604276</guid>
    </item>
    <item>
      <category>Best backuplib and restorelib to copy for new module</category>
      <title>Best backuplib and restorelib to copy for new module</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138499&amp;parent=604268</link>

<enclosure url='http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=XML' type='application/xml' />
      <pubDate>Sun, 22 Nov 2009 19:45:30 GMT</pubDate>
      <dc:creator>Matt Bury</dc:creator>
      <description>by Matt Bury. &amp;nbsp;&lt;p&gt;&lt;p&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I'm developing a couple of very simple &lt;a title=&quot;Auto-link&quot; href=&quot;http://moodle.org/mod/data/view.php?id=6009&quot;&gt;Moodle modules&lt;/a&gt; which have already become quite popular in their beta forms, however, I haven't included backup and restore functions in either. It's about time I got around to implementing it.&lt;br /&gt;
&lt;br /&gt;
The simplest project, the FLV Player module, installs a single DB table that holds all the parameters. It also links to video, image, audio and &lt;a class=&quot;glossary autolink glossaryid5&quot; title=&quot;Glossary of common terms: XML&quot; href=&quot;http://moodle.org/mod/glossary/showentry.php?courseid=5&amp;amp;concept=XML&quot; onclick=&quot;return openpopup('/mod/glossary/showentry.php?courseid=5\&amp;amp;concept=XML', 'entry', 'menubar=0,location=0,scrollbars,resizable,width=600,height=450', 0);&quot;&gt;XML&lt;/a&gt; files in the moodledata course directories.&lt;br /&gt;
&lt;br /&gt;
So my question is, which existing modules in Moodle are the most similar to this so that I can study them and try to replicate their functions for my modules. Some good advice here could save me a lot of time and problems ;)&lt;br /&gt;
&lt;br /&gt;
Also, any other advice you can give me would be very gratefully received.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance &lt;img alt=&quot;smile&quot; width=&quot;15&quot; height=&quot;15&quot; src=&quot;http://moodle.org/pix/s/smiley.gif&quot; /&gt;&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138499&amp;parent=604268</guid>
    </item>
    <item>
      <category>where to find the navigation menu</category>
      <title>Re: where to find the navigation menu</title>
      <link>http://moodle.org/mod/forum/discuss.php?d=138470&amp;parent=604267</link>
      <pubDate>Sun, 22 Nov 2009 19:39:12 GMT</pubDate>
      <dc:creator>Frank Ralf</dc:creator>
      <description>by Frank Ralf. &amp;nbsp;&lt;p&gt;&lt;p&gt;Hi Murad,&lt;br /&gt;
&lt;br /&gt;
There was a similar discussion on &lt;a href=&quot;http://moodle.org/mod/forum/discuss.php?d=136546&quot;&gt;Overriding the $menu / $button variables&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The &lt;a href=&quot;http://dev.moodle.org/course/view.php?id=2&quot;&gt;Introduction to Moodle Programming&lt;/a&gt; course provides information on the folder structure, the most important libraries, and the global variables of Moodle.&lt;br /&gt;
&lt;br /&gt;
And &lt;a href=&quot;http://docs.moodle.org/en/Developer_FAQ&quot; title=&quot;Moodle Docs: Developer FAQ&quot;&gt;Developer FAQ&lt;/a&gt; might also be a good starting point.&lt;br /&gt;
&lt;br /&gt;
hth&lt;br /&gt;
Frank&lt;/p&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">http://moodle.org/mod/forum/discuss.php?d=138470&amp;parent=604267</guid>
    </item>
  </channel>
</rss>