<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:x =
"urn:schemas-microsoft-com:office:excel" xmlns:p =
"urn:schemas-microsoft-com:office:powerpoint" xmlns:a =
"urn:schemas-microsoft-com:office:access" xmlns:dt =
"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s =
"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs =
"urn:schemas-microsoft-com:rowset" xmlns:z = "#RowsetSchema" xmlns:b =
"urn:schemas-microsoft-com:office:publisher" xmlns:ss =
"urn:schemas-microsoft-com:office:spreadsheet" xmlns:c =
"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc =
"urn:schemas-microsoft-com:office:odc" xmlns:oa =
"urn:schemas-microsoft-com:office:activation" xmlns:html =
"http://www.w3.org/TR/REC-html40" xmlns:q =
"http://schemas.xmlsoap.org/soap/envelope/" XMLNS:D = "DAV:" xmlns:x2 =
"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois =
"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir =
"http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds =
"http://www.w3.org/2000/09/xmldsig#" xmlns:dsp =
"http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc =
"http://schemas.microsoft.com/data/udc" xmlns:xsd =
"http://www.w3.org/2001/XMLSchema" xmlns:sub =
"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec =
"http://www.w3.org/2001/04/xmlenc#" xmlns:sp =
"http://schemas.microsoft.com/sharepoint/" xmlns:sps =
"http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi =
"http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf =
"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf =
"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver =
"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels =
"http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t =
"http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m =
"http://schemas.microsoft.com/exchange/services/2006/messages" XMLNS:Z =
"urn:schemas-microsoft-com:" xmlns:st = ""><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR>
<STYLE>@font-face {
        font-family: Calibri;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-compose
}
.MsoChpDefault {
        mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</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]--></HEAD>
<BODY lang=EN-GB vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=912110414-25092008><FONT face=Verdana
color=#0000ff size=2>Hello</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=912110414-25092008><FONT face=Verdana
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=912110414-25092008><FONT face=Verdana
color=#0000ff size=2><STRONG>Point 1 - </STRONG></FONT></SPAN><SPAN
class=912110414-25092008><FONT face=Verdana color=#0000ff size=2>Technically
speaking you can't edit folders, so that's my bad javascript...... the newwindow
line was in the wrong place in the code </FONT></SPAN><SPAN
class=912110414-25092008><FONT face=Verdana color=#0000ff size=2>so modify
website_code/scripts/template_management.js - </FONT></SPAN><SPAN
class=912110414-25092008><FONT face=Verdana color=#0000ff size=2>look for the
edit_window function - </FONT></SPAN><SPAN class=912110414-25092008><FONT
face=Verdana size=2><FONT color=#0000ff>swap its contents for this (assuming no
other modifications) - </FONT><FONT size=1></DIV>
<DIV dir=ltr align=left>
<P><FONT color=#0000ff size=2>x=0;</FONT></P>
<P><FONT color=#0000ff
size=2>while(x!=drag_manager.selected_items.length){</FONT></P>
<P><FONT color=#0000ff
size=2>if(drag_manager.selected_items[x].className=="file"){</FONT></P>
<P><FONT color=#0000ff size=2>var NewEditWindow = window.open(site_url + "edit_"
+
(drag_manager.selected_items[x].id.substr(drag_manager.selected_items[x].id.indexOf("_")+1,drag_manager.selected_items[x].id.length)),
"editwindow" + drag_manager.selected_items[x].id, "height=665, width=800"
);</FONT></P>
<P><FONT color=#0000ff size=2>NewEditWindow.window_reference = self;
</FONT></P></FONT><FONT face="Courier New">
<P></FONT><FONT face="Times New Roman"
color=#0000ff>NewEditWindow.focus();</FONT></P>
<P><FONT color=#0000ff>}<FONT face="Courier New">else{</FONT></FONT></P>
<P><FONT face="Courier New" color=#0000ff>alert("Folders can be edited o<SPAN
class=912110414-25092008>r</SPAN> modified by highlighting them then clicking on
properties");</FONT></P>
<P><FONT face="Courier New" color=#0000ff>}</FONT></P>
<P><FONT color=#0000ff>x++;<FONT face="Courier New"> </P></FONT></FONT>
<P><FONT color=#0000ff>}</FONT></P></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=912110414-25092008></SPAN><SPAN
class=912110414-25092008><FONT face=Verdana color=#0000ff size=2><STRONG>Point
2</STRONG> - </FONT></SPAN><SPAN class=912110414-25092008><FONT face=Verdana
color=#0000ff size=2>The example links needs to be set in the
originaltemplatedetails table in the database - look for the display_id column.
This is the template ID of the example you'd like to use (so if its template id
1, put a 1 in there - if you don't have an example - set it to
0).</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=912110414-25092008><FONT face=Verdana color=#0000ff
size=2><STRONG>Point 3 - </STRONG>Can't say for definite - do you have firebug
installed in firefox? That tends to give better error messages than
IE.</FONT></SPAN></DIV>
<DIV><SPAN class=912110414-25092008><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=912110414-25092008><FONT face=Verdana color=#0000ff
size=2>Sorry for the hassle.</FONT></SPAN></DIV>
<DIV><SPAN class=912110414-25092008><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=912110414-25092008><FONT face=Verdana color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=912110414-25092008><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=912110414-25092008><FONT face=Verdana color=#0000ff
size=2>Pat</FONT></SPAN></DIV>
<DIV><FONT face=Verdana color=#0000ff size=2></FONT><BR></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk
[mailto:xerte-bounces@lists.nottingham.ac.uk] <B>On Behalf Of </B>Samuel
Persse<BR><B>Sent:</B> 25 September 2008 14:59<BR><B>To:</B>
xerte@lists.nottingham.ac.uk<BR><B>Subject:</B> [Xerte] Xerte Javascript
errors<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal>Hi<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>We have installed Xerte on our server, and it is now
authenticating properly through LDAP...<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>However once logged in i come across a few
problems...<o:p></o:p></P>
<P class=MsoNormal> 1: i can create folders, but if i select one,
then click the Edit, i get javascript errors, including...<o:p></o:p></P>
<P
class=MsoNormal>
Line: 63<o:p></o:p></P>
<P
class=MsoNormal>
Char: 2<o:p></o:p></P>
<P
class=MsoNormal>
Error: ‘undefined’ is null or not an object<o:p></o:p></P>
<P
class=MsoNormal>
Code: 0<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P
class=MsoNormal>2:
When i click on properties i get “Page cannot be found” in the popup (also for
the see example links on the right hand side)<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>3: If i try to create a new project i get the
javascript error<o:p></o:p></P>
<P
class=MsoNormal>
Line: 483<o:p></o:p></P>
<P
class=MsoNormal>
Char: 4<o:p></o:p></P>
<P
class=MsoNormal>
Error: Invalid Argument<o:p></o:p></P>
<P
class=MsoNormal>
Code: 0<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Has anyone else had any similar problems when setting the
system up, and how they got around them?<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Regards<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal>Samuel Persse<o:p></o:p></P>
<P class=MsoNormal>E-Resources & Design Team<o:p></o:p></P>
<P class=MsoNormal>Loughborough College<o:p></o:p></P>
<P
class=MsoNormal>
<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P></DIV><BR>
<HR>
<FONT face=Arial color=black size=3>The next Loughborough College Open Day is
on Wednesday 15th October 2008 from 4.00 to 7.00 pm. Come along and find out
about the wide range of courses and activities at Loughborough College. For
more information log onto www.loucoll.ac.uk <http://www.loucoll.ac.uk>,
or call 0845 166 2950 to speak to one of our advisors.<BR></FONT><BR><FONT
face=Arial color=green size=3>Help save paper - don't print this message if
you don't need to<BR></BLOCKQUOTE></FONT></BODY></HTML>