<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hello,</div><div><br></div><div>Code wise it is fine - but these links are for one template, so they really should be in the module folder and not the library - as it will add them for all templates.</div><div><br></div><div>Before Xmas I spoke about making the play code more useful for extra types of format. So in theory every template can support an infinite number of play options.</div><div><br></div><div>Should I do that?<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 12 Feb 2013, at 17:05, "Ron Mitchell" <<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.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)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
/* 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";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
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;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle25
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle26
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle27
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle28
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle29
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle30
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle31
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle32
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle33
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle34
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle35
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle36
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle37
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle38
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle39
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle40
{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;}
--></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">I'm not sure John. <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">I guess most of the time that would be redundant because it's the author view of properties of an LO but I suspect your asking for when it's a shared project. Not sure if creator ID get's changed when changed by someone other than creator or if the modifier ID get's stored elsewhere and tracks modifications.<o:p></o:p></span></p><p class="MsoNormal"><a name="_MailEndCompose"><span style="color:#1F497D"><o:p> </o:p></span></a></p><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><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> 12 February 2013 16:38<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: FW: selected template access<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Oh and is it possible to show “…was created on 2013-02-11 by XXXXX” and similar for the modified line?<o:p></o:p></span></p><div><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">Regards,<o:p></o:p></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">John Smith<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Learning Technologist<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">School of Health & Life Sciences<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Glasgow Caledonian University<o:p></o:p></span></p></div><p class="MsoNormal"><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"><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>Ron Mitchell<br><b>Sent:</b> Tuesday, February 12, 2013 4:23 PM<br><b>To:</b> 'For Xerte technical developers'<br><b>Subject:</b> [Xerte-dev] FW: selected template access<o:p></o:p></span></p></div></div><p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><span style="color:#1F497D">Hi all<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">I've been testing Julian's new site stuff and wanted to test a way of changing the links displayed in properties when viewing properties with a site LO selected. I have this working locally after adding the additional links to url_library.php and then using a case statement to check for project name in properties_library.php<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">However I don't want to risk the wrath of the cave! ;-)<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Is there a better/elegant/more future proof way to do this?<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">In properties_library.php I've added a switch checking for template name and if it's 'site' show just the play_site link but if it's not site by default show the flash and html 5 links that we see now. The links obviously come from url_library.php. Here's the relevant code in site properties_library.php:<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">$query_name_response = mysql_query($query_for_template_name);<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> $row_name = mysql_fetch_array($query_name_response);<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> switch($row_name['template_name']){<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> case "site": <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> echo "<p><a target=\"new\" href='" . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "'>" . $xerte_toolkits_site->site_url . url_return("play_site", $_POST['template_id']) . "</a></p>";<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> break;<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> default: <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> echo "<p>" . PROPERTIES_LIBRARY_PROJECT_LINK . "</p>";<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> echo "<p><a target=\"new\" href='" . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "'>" . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "</a></p>";<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> echo "<p>" . PROPERTIES_LIBRARY_PROJECT_HTML5_LINK . "</p>";<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> echo "<p><a target=\"new\" href='" . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "'>" . $xerte_toolkits_site->site_url . url_return("play_html5", $_POST['template_id']) . "</a></p>";<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> $temp_string = get_template_screen_size($row_name['template_name'], $row_name['template_framework']);<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> $temp_array = explode("~",$temp_string);<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> echo "<br><br><p>" . PROPERTIES_LIBRARY_PROJECT_IFRAME . "</p><form><textarea rows='3' cols='40' onfocus='this.select()'><iframe src='" . $xerte_toolkits_site->site_url . url_return("play", $_POST['template_id']) . "' width='" . $temp_array[0] . "' height='" . $temp_array[1] . "' frameborder=\"0\" style=\"float:left; position:relative; top:0px; left:0px; z-index:0;\"></></iframe></textarea></form>";<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> break; <o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"> }}}<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">and here's what a site template and other/Notts template shows:<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><image001.jpg><image002.jpg><o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">I think I can hear rumblings from the cave already :-(<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">Ron<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"><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""> Julian Tenney [<a href="mailto:Julian.Tenney@nottingham.ac.uk">mailto:Julian.Tenney@nottingham.ac.uk</a>] <br><b>Sent:</b> 12 February 2013 14:16<br><b>To:</b> Ron Mitchell<br><b>Subject:</b> RE: selected template access<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><span style="color:#1F497D">> Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions?<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">BY all means. There is no hurry, though. Now we have the temaplte working I toolkits we can i) decide how far we want to take it; ii) sort all this other stuff out.<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""> Ron Mitchell [<a href="mailto:ronm@mitchellmedia.co.uk">mailto:ronm@mitchellmedia.co.uk</a>] <br><b>Sent:</b> 12 February 2013 13:19<br><b>To:</b> 'Ron Mitchell'; 'Julian Tenney'<br><b>Subject:</b> RE: selected template access<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 style="color:#1F497D">That worked...<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">changed name to site<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">parent_templates/site/site.rlt<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">created a new project<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">preview_site and play_site both work.<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">Do you want me to have a look at displaying the correct play link in properties? Also .htaccess additions?<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: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""> Ron Mitchell [<a href="mailto:ronm@mitchellmedia.co.uk">mailto:ronm@mitchellmedia.co.uk</a>] <br><b>Sent:</b> 12 February 2013 13:13<br><b>To:</b> 'Ron Mitchell'; 'Julian Tenney'<br><b>Subject:</b> RE: selected template access<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 style="color:#1F497D">Tried that but no joy.<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">Renamed in the db as bootstrap and then changed /parent_templates/site to parent_templates/bootstrap and now it works.<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">Probably better though to find out why it wouldn't work via parent_templates/site/site.rlt oh just thinking perhaps I needed to create a new project after that change...<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: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""> Ron Mitchell [<a href="mailto:ronm@mitchellmedia.co.uk">mailto:ronm@mitchellmedia.co.uk</a>] <br><b>Sent:</b> 12 February 2013 13:04<br><b>To:</b> 'Ron Mitchell'; 'Julian Tenney'<br><b>Subject:</b> RE: selected template access<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 style="color:#1F497D">Looks like the code uses the name from the originaltemplatedetails table in the db. Changes that to site and then it looks for /xot19/modules/xerte/parent_templates/site/site.rlt any reason not to rename bootstrap.rlt to site.rlt?<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: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""> Ron Mitchell [<a href="mailto:ronm@mitchellmedia.co.uk">mailto:ronm@mitchellmedia.co.uk</a>] <br><b>Sent:</b> 12 February 2013 12:58<br><b>To:</b> 'Julian Tenney'<br><b>Subject:</b> RE: selected template access<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 style="color:#1F497D">Turned on debugging... something in the code still looking for the bootstrap folder?<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">Warning: file_get_contents(/xot19/modules/xerte/parent_templates/bootstrap/bootstrap.rlt)<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">Don't think it's cache.<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: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""> Ron Mitchell [<a href="mailto:ronm@mitchellmedia.co.uk">mailto:ronm@mitchellmedia.co.uk</a>] <br><b>Sent:</b> 12 February 2013 12:50<br><b>To:</b> 'Julian Tenney'<br><b>Subject:</b> RE: selected template access<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 style="color:#1F497D">I wouldn't do it in basic.sql although if you don't want it available to all remove the *<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">Just set who it's available to via management.php<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">There's a slight issue possibly caused by the renaming...<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="color:#1F497D">Have tested on two different installs - I can create a new project based on the template but clicking insert doesn't do anything? It worked when it was called Bootstrap! ;-)<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: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""> Julian Tenney [<a href="mailto:Julian.Tenney@nottingham.ac.uk">mailto:Julian.Tenney@nottingham.ac.uk</a>] <br><b>Sent:</b> 12 February 2013 11:11<br><b>To:</b> Ron Mitchell<br><b>Subject:</b> RE: selected template access<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 style="color:#1F497D">In basic.sql, instead of ‘*’ for the access field?<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""> Ron Mitchell [<a href="mailto:ronm@mitchellmedia.co.uk">mailto:ronm@mitchellmedia.co.uk</a>] <br><b>Sent:</b> 12 February 2013 11:11<br><b>To:</b> 'Julian Tenney'<br><b>Subject:</b> selected template access<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 style="color:#1F497D">it's username comma username<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:#1F497D">e.g. ronm,rmitchell<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.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""> Ron Mitchell [<a href="mailto:ronm@mitchellmedia.co.uk">mailto:ronm@mitchellmedia.co.uk</a>] <br><b>Sent:</b> 12 February 2013 10:52<br><b>To:</b> 'Julian Tenney'<br><b>Subject:</b> RE: Bootstrap<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 style="color:#1F497D">BTW Pat didn't answer your question about enabling for specific users - looks like it's username.<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:#1F497D">Not sure what the delimiter is but I guess either , ; or space - testing that now...<o:p></o:p></span></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:72.0pt"><span 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-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p><p class="MsoNormal"><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></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>