I've got one more mapping one to make for my stuff. Then I have a project I am working on to make a non-LO thing within XOT.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 23, 2012 at 4:01 PM, Julian Tenney <span dir="ltr"><<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Oh, I’ve not had time to actually do it, it’s just this is a timely piece of work (thanks) because we are looking at the bootstrap library as a way of making ‘will run anywhere’ OERs. I quite like it. We are going to have a chat about it here and see if it’s something we could / would want to build in next week, and it’s probably work for after Christmas anyway. A dummy would be good but there’s no real hurry.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Pat Lockley<br>
<b>Sent:</b> 23 November 2012 15:52</span></p><div><div class="h5"><br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: New modules<u></u><u></u></div></div><p></p></div><div><div class="h5"><p class="MsoNormal" style="margin-left:36.0pt">
<u></u> <u></u></p><p class="MsoNormal" style="margin-left:36.0pt">Did it work?<br><br>I can work the 3/4 new ones up into proper templates if easier? Or make a dummy example one?<u></u><u></u></p><div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:36.0pt">On Fri, Nov 23, 2012 at 12:30 PM, Pat Lockley <<a href="mailto:patrick.lockley@googlemail.com" target="_blank">patrick.lockley@googlemail.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt">Erm, it depends really<br><br>If you wanted to make a new xerte template it works as it used to<br><br>If you wanted to use a xerte editor but a different preview / play then you'd make a different modules/xertenew folder<br>
<br>I can't check in from here - code is at home<br><br>new template makes a new folder, and then copies over the folders (media) and files (data.xml) needed to make the default xerte template. If you don't need to change this, then duplicate it.<u></u><u></u></p>
<div><div><p class="MsoNormal" style="margin-left:36.0pt"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:36.0pt">
On Fri, Nov 23, 2012 at 12:24 PM, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:<u></u><u></u></p><div><div><div><p class="MsoNormal" style="margin-left:36.0pt">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">></span> make a new folder in modules<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:36.0pt">You mean in modules/xerte/templates?<u></u><u></u></p>
<div><p class="MsoNormal" style="margin-left:36.0pt"> <u></u><u></u></p><p class="MsoNormal" style="margin-left:36.0pt">> Then when you create this template, it will call new template.php in your folder<u></u><u></u></p>
</div><p class="MsoNormal" style="margin-left:36.0pt">New_template.php is in modules/xerte. Reading the code I see it copies folders of files. I’m not really sure I understand what’s going on here. I think if you check in the extra templates you’ve done I might be able to figure it out,<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:72.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Pat Lockley<br>
<b>Sent:</b> 23 November 2012 11:25</span><u></u><u></u></p><div><div><p class="MsoNormal" style="margin-left:36.0pt"><br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: New modules<u></u><u></u></p>
</div></div></div><div><div><p class="MsoNormal" style="margin-left:72.0pt"> <u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt">make a new folder in modules called "module_name"<br><br>In this copy all of the files from modules/xerte<br>
<br>make a new folder in module_name called the shortname for your template (i.e Nottingham)<br><br>In this folder put a .info file called the same name as the folder and in that file put the stuff from the Nottingham one (play with some of the settings as you see fit)<br>
<br>Then when you create this template, it will call new template.php in your folder<br>Editing will call edit<br>Play play and so on<br><br>So mod the code to do whatever you want it to do<br><br>If you are using Xerte as the editor, then you can leave new and edit in tact and just mangle preview and play - but I think most of this is now in module_functions.php<u></u><u></u></p>
<div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:72.0pt"> <u></u><u></u></p><div><p class="MsoNormal" style="margin-left:72.0pt">On Fri, Nov 23, 2012 at 10:55 AM, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So as a lab rat, if I wanted to use a xwd to create a wizard for creating data to drive a web page built with twitter bootstrap, how would I do that?</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><p class="MsoNormal" style="margin-left:72.0pt">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">The wizard stuff I can do (obviously) but how do you hook up a new runtime (the base html page) and how is the data passed to it? Then I can use jQuery to build the page from the data…</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:108.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Pat Lockley<br>
<b>Sent:</b> 23 November 2012 10:06</span><u></u><u></u></p><div><div><p class="MsoNormal" style="margin-left:72.0pt"><br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: New modules<u></u><u></u></p>
</div></div></div><div><div><p class="MsoNormal" style="margin-left:108.0pt"> <u></u><u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:108.0pt">The right hand list is built from the database still, if you go to management.php and templates then "update" you'd get them all. They can exist as folders and not be usable.<u></u><u></u></p>
<div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:108.0pt"> <u></u><u></u></p><div><p class="MsoNormal" style="margin-left:108.0pt">On Fri, Nov 23, 2012 at 10:02 AM, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">OK. As time goes on we ought to also move the source code for various things from the xerte svn into the toolkits one, so building the zip will become more complicate than simply zipping up the svn folder. At the moment, does the workspace’s list of templates get built from your modules – i.e. will I see them in the workspace automatically?</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:144.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Pat Lockley<br>
<b>Sent:</b> 23 November 2012 09:38</span><u></u><u></u></p><div><p class="MsoNormal" style="margin-left:108.0pt"><br><b>To:</b> For Xerte technical developers<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:108.0pt">
<b>Subject:</b> [Xerte-dev] Re: New modules<u></u><u></u></p></div><div><div><p class="MsoNormal" style="margin-left:144.0pt"> <u></u><u></u></p><p class="MsoNormal" style="margin-left:144.0pt">Can I commit them just for the sake of having a green tick? I guess the zip isn't made directly from the trunk (lots of old Xerte templates)<br>
<br>I've also not copied trunk over the top of 1.9, or introduced any of the generic play code talked about the other day.<br><br>I also realise import isn't modularised, which is a bit of a problem.<u></u><u></u></p>
<div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:144.0pt"> <u></u><u></u></p><div><p class="MsoNormal" style="margin-left:144.0pt">On Fri, Nov 23, 2012 at 9:14 AM, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk" target="_blank">Julian.Tenney@nottingham.ac.uk</a>> wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal" style="margin-left:144.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Leave them out for now, </span><u></u><u></u></p><p class="MsoNormal" style="margin-left:144.0pt">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:180.0pt">
<b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Pat Lockley<br>
<b>Sent:</b> 22 November 2012 23:18<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] New modules</span><u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:180.0pt"> <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:180.0pt">I haven't committed any of my new modules to trunk, but I could do so, on the basis you could leave them out of the 1.9 zip?<u></u><u></u></p><div><p class="MsoNormal" style="margin-left:180.0pt">
<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:180.0pt">Not fussed.<u></u><u></u></p></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:144.0pt"> <u></u><u></u></p></div>
<p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:144.0pt"><br>_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">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><u></u><u></u></p></div><p class="MsoNormal" style="margin-left:144.0pt"> <u></u><u></u></p>
</div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:108.0pt"> <u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:108.0pt"><br>_______________________________________________<br>
Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">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><u></u><u></u></p>
</div><p class="MsoNormal" style="margin-left:108.0pt"> <u></u><u></u></p></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:72.0pt"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt;margin-left:72.0pt">
<br>_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">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><u></u><u></u></p>
</div><p class="MsoNormal" style="margin-left:72.0pt"> <u></u><u></u></p></div></div></div></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><br><br><u></u><u></u></p></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<br>_______________________________________________<br>Xerte-dev mailing list<br><a href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">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><u></u><u></u></p>
</div><p class="MsoNormal" style="margin-left:36.0pt"><u></u> <u></u></p></div></div></div></div><p class="MsoNormal" style="margin-left:36.0pt"><u></u> <u></u></p></div></div></div></div>
<br><br>
<br></div><br>_______________________________________________<br>
Xerte-dev mailing list<br>
<a 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></blockquote></div><br></div>