What was that path problem? I am at a dead end as well and just can’t see what I’m doing wrong. Any help appreciated.
First 11 lines of my template.js file are:
tinyMCEPopup.requireLangPack();
var TemplateDialog = {
preInit : function() {
url = "http://www.[i]mydomainname[/i].com/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/js/template_list.js";
if (url != null)
document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></sc'+'ript>');
},
My template_list.js is:
var tinyMCETemplateList = [
// Name, URL, Description
["Competitor List", "http://www.[i]mydomain[/i].com/assets/plugins/tinymce/jscripts/tiny_mce/plugins/template/templates/competitor-list.html", "Competitor List Table"]
];
In my TinyMCE plugin comfiguation in MODx Tools/Configuration, I only have the custom parameter:
forced_root_block : false
And I have the template buttons installed. But I still don’t see my template in the drop-down list. If I put both the template.js and template_list.js URLs into my browser address bar, they bring me directly to them so the URLs are correct. Any help appreciated!
P.S. I am using MODx 1.0.5 and TinyMCe 3.3.9.2