Using the firebug console I see the following error:
reference to undefined property o.cache[H][E]
Failed to load source for: http://www....dbox.com/assets/js/jquery-1.3.2.min.js
The file in question is in the specified folder. I re uploaded this file to the server just in case it got corrupted during installation.
Here’s what is loading:
/assets/js/jquery-1.3.2.min.js
/assets/plugins/qm/css/colorbox.css
Some styles for IE (assets/plugins/qm/css/images/internet_explorer)
/assets/plugins/qm/js/jquery.colorbox-min.js
Then this:
<script type="text/javascript">
var $j = jQuery.noConflict();
$j(document).ready(function($)
{
$("a.colorbox").colorbox({width:"80%", height:"90%", iframe:true, overlayClose:false});
// Bindings
$().bind("cbox_open", function(){
$("body").css({"overflow":"hidden"});
$("html").css({"overflow":"hidden"});
$("#qmEditor").css({"display":"none"});
});
$().bind("cbox_closed", function(){
$("body").css({"overflow":"auto"});
$("html").css({"overflow":"auto"});
$("#qmEditor").css({"display":"block"});
// Remove manager lock by going to home page
$j.ajax({ type: "GET", url: "http://www.tbdsandbox.com/manager/index.php?a=2" });
});
// Hide QM+ if cookie found
if (getCookie("hideQM") == 1)
{
$("#qmEditor").css({"display":"none"});
$("#qmEditorClosed").css({"display":"block"});
}
// Hide QM+
$(".qmClose").click(function () {
$("#qmEditor").hide("normal");
$("#qmEditorClosed").show("normal");
document.cookie = "hideQM=1; path=/;";
});
// Show QM+
$("#qmEditorClosed").click(function () {
{
$("#qmEditorClosed").hide("normal");
$("#qmEditor").show("normal");
document.cookie = "hideQM=0; path=/;";
}
});
});
function getCookie(cookieName)
{
var results = document.cookie.match ( "(^|;) ?" + cookieName + "=([^;]*)(;|$)" );
if (results) return (unescape(results[2]));
else return null;
}
</script>
Another style sheet
assets/plugins/qm/css/style.css
Then this:
<style type="text/css">
#qmEditor, #qmEditorClosed { top: 0px; }
</style>
All of the files referenced above are where they should be.
Plugin Code:
$show = TRUE;
if ($disabled != '') {
$arr = explode(",", $disabled );
if (in_array($modx->documentIdentifier, $arr)) {
$show = FALSE;
}
}
if ($show) {
include_once($modx->config['base_path'].'assets/plugins/qm/qm.inc.php');
$qm = new Qm($modx, $jqpath, $loadmanagerjq, $loadfrontendjq, $noconflictjq, $loadtb, $tbwidth, $tbheight, $hidefields, $hidetabs, $hidesections, $addbutton, $tpltype, $tplid, $custombutton, $managerbutton, $logout, $autohide);
}
The plugin configuration data:
&jqpath=Path to jQuery;text;assets/js/jquery-1.3.2.min.js &loadmanagerjq=Load jQuery in manager;list;true,false;true &loadfrontendjq=Load jQuery in front-end;list;true,false;true &noconflictjq=jQuery noConflict mode in front-end;list;true,false;true &loadtb=Load modal box in front-end;list;true,false;true &tbwidth=Modal box window width;text;80% &tbheight=Modal box window height;text;90% &hidefields=Hide document fields from front-end editors;text;parent &hidetabs=Hide document tabs from front-end editors;text; &hidesections=Hide document sections from front-end editors;text; &addbutton=Show add document here button;list;true,false;true &tpltype=New document template type;list;parent,id,selected;parent &tplid=New document template id;int;3 &custombutton=Custom buttons;textarea; &managerbutton=Show go to manager button;list;true,false;true &logout=Logout to;list;manager,front-end;manager &disabled=Plugin disabled on documents;text; &autohide=Autohide toolbar;list;true,false;false
System Events Checked:
OnWebPagePrerender
OnManagerLogout
OnDocFormPrerender
OnDocFormSave
I appreciate any help with this.