<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I think a Skype might make sense</div><div><br></div><div>I have told cetis that there is a xerte pub camp on the Tuesday.<br><br>Pgogy Webstuff - <a href="http://www.pgogywebstuff.com">http://www.pgogywebstuff.com</a><div>Makers of web things of a fair to middling quality</div></div><div><br>On 5 Mar 2013, at 13:57, Julian Tenney <<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:808396190;
        mso-list-type:hybrid;
        mso-list-template-ids:-1946222854 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="color:#1F497D">></span><span style="color:#1F497D"> <span lang="EN-US">I think it needs discussing… maybe as part of your structure discussions at CETIS – it’s a pity I can’t make it…<o:p></o:p></span></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">When should we get together face to face again? And where? There seems like loads going on at the moment, it’s March already and if we wanted to do something, say, end of June, we should maybe plan for that now? Maybe we should also think about the AGM again, and what we want to do with that,<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><div><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 lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Smith, John<br><b>Sent:</b> 05 March 2013 11:05<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Plugins code added to trunk<o:p></o:p></span></p></div></div><p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D">I agree – it gives people who are not that familiar with PHP to add functionality. Someone (might have even been me) at the developer day mentioned the possibility of a ‘code snippet’ library that allow you to tweak things – this could go  5 steps further by giving packaged plugins… we could even move CORE functionality into plugins…<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D">I think we need to treat it as a proof of concept just now though as we need to develop the list of hooks available and decide where we actually do the actions and filters<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D">For example, I apply a filter to the ‘Pod 1’ text in index.php but it could be that this is better in display_library.php – logged_in_page_format_middle function – OR we decide to move the whole {{pod_one}} replace into a CORE plugin – then it could be removed, added to or detached by a higher priority plugin…<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D">I think it needs discussing… maybe as part of your structure discussions at CETIS – it’s a pity I can’t make it…<o:p></o:p></span></p><div><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D">Regards,<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D">John Smith<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D">Learning Technologist<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D">School of Health & Life Sciences<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D">Glasgow Caledonian University<o:p></o:p></span></p></div><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p><div><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 lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br><b>Sent:</b> Tuesday, March 05, 2013 9:59 AM<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Plugins code added to trunk<o:p></o:p></span></p></div></div><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">Nice one, this sounds interesting,<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><div><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 lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Smith, John<br><b>Sent:</b> 04 March 2013 16:02<br><b>To:</b> <a href="mailto:xerte-dev@lists.nottingham.ac.uk">xerte-dev@lists.nottingham.ac.uk</a><br><b>Subject:</b> [Xerte-dev] Plugins code added to trunk<o:p></o:p></span></p></div></div><p class="MsoNormal" style="margin-left:72.0pt"><o:p> </o:p></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US">Hi all,<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US">I’ve just committed the plugins code that I was working on – feel free to give it a try and let me know of any bugs/improvements/concerns and I’ll address them…<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US">This is definitely a developer tool so won’t be used by the majority but will allow functionality to be change without checking in code… we could almost have a repository of plugins to allow people to do things that means they don’t need any PHP experience but can customise their setup… Here is the rather lengthy text I added to the SVN<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">PLUGINS, ACTIONS & FILTERS: This code allows you to add a 'plugin' in the<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">/plugins folder which will augment functionality provided by XOT. It allows you<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">to create single file or folder style plugins (similar to Wordpress) which add<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">functionality to various 'hook' points within the page. These hooks are by no<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">means definitive and hopefully we can add lots more, however for filters to work<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">in a better way some code will need re-written in order to pass 'content'<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">through the filter before being used or echo-ed..<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">The current files should do nothing to an install. The example plugins are<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">commented out - remove the 'REMOVE_THIS' text from the filenames in order to<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">activate. The 'GCU Plugin' demonstrates some potentially useful functionality:<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoListParagraph" style="margin-left:144.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">         </span></span></span><!--[endif]--><span lang="EN-US">It adds a banner at the top of the page (login and editor)<o:p></o:p></span></p><p class="MsoListParagraph" style="margin-left:144.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">         </span></span></span><!--[endif]--><span lang="EN-US">It changes the <title> text<o:p></o:p></span></p><p class="MsoListParagraph" style="margin-left:144.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">         </span></span></span><!--[endif]--><span lang="EN-US">It changes the "My Projects" text to "John's Projects"<o:p></o:p></span></p><p class="MsoListParagraph" style="margin-left:144.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">         </span></span></span><!--[endif]--><span lang="EN-US">It adds text to Pod 1<o:p></o:p></span></p><p class="MsoListParagraph" style="margin-left:144.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2"><!--[if !supportLists]--><span lang="EN-US" style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">         </span></span></span><!--[endif]--><span lang="EN-US">It adds a title slide to data.xml on save<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">The plugin_one plugin simply inserts HTML comments at action hook points<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">throughout the page. Enable this by taking out REMOVE_THIS and then refresh the<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:108.0pt"><span lang="EN-US">page and view the source to reveal it's result...<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US">Regards,<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US">John Smith<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US">Learning Technologist<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US">School of Health & Life Sciences<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US">Glasgow Caledonian University<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><br></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Glasgow Caledonian University is a registered Scottish charity, number SC021474<br><br>Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br><br>Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><br></span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:gray">Glasgow Caledonian University is a registered Scottish charity, number SC021474<br><br>Winner: Times Higher Education’s Widening Participation Initiative of the Year 2009 and Herald Society’s Education Initiative of the Year 2009.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html</a><br><br>Winner: Times Higher Education’s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.<br><a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html</a></span><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p></o:p></span></p></div>
<br><br>
<br></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Xerte-dev mailing list</span><br><span><a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a></span><br><span><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a></span><br></div></blockquote></body></html>