<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Pat and thanks for your reply.</span></div><div><br><span></span></div><div><span>So its a fact that we will have one directory by project.</span></div><div><br><span></span></div><div><span>There is another thing that I'm not sure if is working properly:</span></div><div><br><span></span></div><div><span>When I delete a project from XOT the directory still is in "USER-FILES"</span></div><div><br><span></span></div><div><span>Shouldn't be deleted when I delete the project from XOT?</span></div><div><br><span></span></div><div><span>Let say that I have 100 teachers using XOT and they create one project each one. After one week, 50% of them delete the project and create anothers.</span></div><div><br><span></span></div><div><span>How can I keep "clean" the "USER-FILES" directory with "ghosts"
projects?</span></div><div><br><span></span></div><div><span>Thanks in advance.</span></div><div><br><span></span></div><div><span>José.<br></span></div><div> </div><div>--<br>Lic. José Gregorio Díaz Unda.<br>Asesor de Tecnologías de Información y Comunicación.<br>Tel.: 58.0412.5518085<br>Skype: xt4mhz<br>Web: www.usb.ve - jgdu.blogspot.com<br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">De:</span></b> Pat Lockley <patrick.lockley@googlemail.com><br> <b><span style="font-weight: bold;">Para:</span></b> Jose Diaz <xt4mhz@yahoo.com>; For Xerte technical developers <xerte-dev@lists.nottingham.ac.uk> <br> <b><span style="font-weight: bold;">Enviado:</span></b> Jueves, 28 de junio, 2012 8:02:48<br>
<b><span style="font-weight: bold;">Asunto:</span></b> Re: [Xerte-dev] Re: Moodle integration and troubles saving projects<br> </font> </div> <br>USER-FILES contains 1 folder for each project<br><br>(id)-(creator)-(template)<br><br>A shared project will share one folder.<br><br>On Thu, Jun 28, 2012 at 1:27 PM, Jose Diaz <<a ymailto="mailto:xt4mhz@yahoo.com" href="mailto:xt4mhz@yahoo.com">xt4mhz@yahoo.com</a>> wrote:<br>> Hi Ron.<br>><br>> I added at the top of the "config.php" file the line<br>> "require("/var/www/moodle/config.php");" and the projects are saved know.<br>><br>> I tested adding some images to title pages and all of them are saved into<br>> the media folder as expected.<br>><br>> A question:<br>><br>> Each time a user (profesor) creates a project a directory in "USER-FILES"<br>> will be created? Or it should be into the unique "ID-profesor-Nottinghman"<br>> directory?<br>><br>> This is
the content of "USER-FILES" after creatin two more projects:<br>><br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 18:10 1-guest-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:05 2-admin-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:12 3-profesor-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:14 4-profesor-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:45 5-profesor-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-28 07:45 6-profesor-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-28 07:50 7-profesor-Nottingham<br>><br>> The directories "6-profesor-Nottingham" and "7-profesor-Nottingham" are new<br>> after creating two more projects.<br>><br>> Thanks for the help.<br>><br>> José.<br>><br>>
--<br>> Lic. José Gregorio Díaz Unda.<br>> Asesor de Tecnologías de Información y Comunicación.<br>> Tel.: 58.0412.5518085<br>> Skype: xt4mhz<br>> Web: www.usb.ve - jgdu.blogspot.com<br>> ________________________________<br>> De: Ron Mitchell <<a ymailto="mailto:ronm@mitchellmedia.co.uk" href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>><br>> Para: 'Jose Diaz' <<a ymailto="mailto:xt4mhz@yahoo.com" href="mailto:xt4mhz@yahoo.com">xt4mhz@yahoo.com</a>>; 'For Xerte technical developers'<br>> <<a ymailto="mailto:xerte-dev@lists.nottingham.ac.uk" href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a>><br>> Enviado: Jueves, 28 de junio, 2012 3:27:48<br>> Asunto: RE: [Xerte-dev] Moodle integration and troubles saving projects<br>><br>>> Thats why "profesor" is repeating but I dont know why<<br>> This is normall - all project folders contain the
username as well as the id<br>> and template<br>><br>>> BUT the files are not saved<<br>> Try adding the path to your moodle config at the top of the xot config.php<br>> e.g.<br>> require("/var/www/moodle/config.php");<br>><br>> Test by creating a new LO. Let us know if that resolves the issue?<br>><br>> HTH<br>> Ron<br>><br>> From: <a ymailto="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>> [mailto:<a ymailto="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Jose Diaz<br>> Sent: 28 June 2012 04:21<br>> To: For Xerte technical developers<br>> Subject: [Xerte-dev] Moodle integration and troubles saving projects<br>><br>> Hi guys, I hope you be ok.<br>><br>> Recently I
installed XOT from trunk and did the integration process for<br>> MOODLE.<br>><br>> The workflow for login is working well.<br>><br>> The problem is when I login in to MOODLE and visit XOT installation, I<br>> create a project and publish (save) it, BUT the files are not saved. When I<br>> get back to XOT (after MOODLE login), the project list is empty. However,<br>> the directory in "USER-FILES" for the user is created too.<br>><br>> Some additional info:<br>><br>> 1. Installation directories:<br>><br>> MOODLE: /var/www/moodle<br>> XOT: /var/www/xot-demo<br>><br>> 2. Content and permissions into "USER-FILES":<br>><br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 18:10 1-guest-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:05 2-admin-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:12
3-profesor-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:14 4-profesor-Nottingham<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:45 5-profesor-Nottingham<br>><br>> Note: "profesor" is the user used to login to MOODLE and visit XOT. Each<br>> time I try to create LO from XOT, a new directory is created for the same<br>> user. Thats why "profesor" is repeating but I dont know why.<br>><br>> The contents into "5-profesor-Nottingham" are:<br>><br>> /var/www/xot-demo/USER-FILES/5-profesor-Nottingham# ls -al<br>> total 12<br>> drwxrwxrwx 3 www-data www-data 24 2012-06-27 22:45 .<br>> drwxr-xr-x 8 www-data www-data 64 2012-06-27 22:45 ..<br>> -rw-rw-rw- 1 www-data www-data 868 2012-06-27 22:47 data.xml<br>> drwxrwxrwx 2 www-data www-data 1 2012-06-27 22:45 media<br>> -rwxrwxrwx 1 www-data www-data 868 2012-06-27 22:48
preview.xml<br>> What could be wrong?<br>><br>> Thanks a lot in advance.<br>><br>> Take care.<br>><br>> José.<br>><br>> --<br>> Lic. José Gregorio Díaz Unda.<br>> Asesor de Tecnologías de Información y Comunicación.<br>> Tel.: 58.0412.5518085<br>> Skype: xt4mhz<br>> Web: www.usb.ve - jgdu.blogspot.com<br>><br>> This message and any attachment are intended solely for the addressee and<br>> may contain confidential information. If you have received this message in<br>> error, please send it back to me, and immediately delete it. Please do not<br>> use, copy or disclose the information contained in this message or in any<br>> attachment. Any views or opinions expressed by the author of this email do<br>> not necessarily reflect the views of the University of Nottingham.<br>> This message has been checked for viruses but the contents of an attachment<br>> may still contain software
viruses which could damage your computer system:<br>> you are advised to perform your own checks. Email communications with the<br>> University of Nottingham may be monitored as permitted by UK legislation.<br>><br>><br>><br>> _______________________________________________<br>> Xerte-dev mailing list<br>> <a ymailto="mailto:Xerte-dev@lists.nottingham.ac.uk" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>><br>> This message and any attachment are intended solely for the addressee and<br>> may contain confidential information. If you have received this message in<br>> error, please send it back to me, and immediately delete it. Please do not<br>> use, copy or disclose the information contained in this message or in
any<br>> attachment. Any views or opinions expressed by the author of this email do<br>> not necessarily reflect the views of the University of Nottingham.<br>><br>> This message has been checked for viruses but the contents of an attachment<br>> may still contain software viruses which could damage your computer system:<br>> you are advised to perform your own checks. Email communications with the<br>> University of Nottingham may be monitored as permitted by UK legislation.<br>><br>><br><br><br> </div> </div> </div></body></html>