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<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 23, 2012 at 10:55 AM, 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">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?<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><p class="MsoNormal"><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…<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 10:06</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-right:0cm;margin-bottom:12.0pt;margin-left:36.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.<br>
<br><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 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:36.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: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 09:38</span><u></u><u></u></p><div><p class="MsoNormal" style="margin-left:36.0pt"><br><b>To:</b> For Xerte technical developers<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:36.0pt">
<b>Subject:</b> [Xerte-dev] Re: New modules<u></u><u></u></p></div><div><div><p class="MsoNormal" style="margin-left:72.0pt"> <u></u><u></u></p><p class="MsoNormal" style="margin-left:72.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:72.0pt"> <u></u><u></u></p><div><p class="MsoNormal" style="margin-left:72.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:72.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: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> 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:108.0pt"> <u></u><u></u></p>
<p class="MsoNormal" style="margin-left:108.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:108.0pt">
<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:108.0pt">Not fussed.<u></u><u></u></p></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>
<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>