Quote:
Originally Posted by Slave
Done 
|
I think you've patched the templates in order to fit everything into your column display. The links_header template now declares some javascript that control (e.g.) the tabs on the category edit form. You need to include this in whatever template you're using as header:
LDM version 2.2.5:
Code:
<script language="JavaScript" type="text/javascript">
<!--
function ldmshow(object, k, n)
{
for (var i=1; i <= n; i++)
{
obj = fetch_object(object + i);
if (i==k)
{
obj.style.display = '';
}
else
{
obj.style.display = 'none';
}
}
}
function ldmtextLimit(field, maxlen)
{
if (field.value.length > maxlen)
{
field.value = field.value.substring(0, maxlen);
}
}
function ldmtextDOI(field)
{
field.value = field.value.replace(/[^a-zA-Z0-9-_]+/g, "");
}
function ldmpopup(URL)
{
window.open(URL,'player','width=$links_defaults[musicbox_standalone_width],height=$links_defaults[musicbox_standalone_height],toolbar=no,personalbar=no,location=no,directories=no,statusbar=no,menubar=no,status=no,resizable=yes,left=60,screenX=60,top=100,screenY=100');
}
if (location.search.substring(1)=="focuswin")
{
window.focus();
}
// -->
</script>
LDM version 2.2.6 and higher:
Code:
<script type="text/javascript" src="clientscript/ldm_global.js"></script>