2010-04-16 35 views
0

我用smarty使用微小的mce,但它显示空白弹出式窗口,如图像,锚点,预览按钮。我在我的TPL文件中使用的代码是微小的mce弹出窗口空白在smarty

`{}文字 tinyMCE.init({//常规选项模式 : “文本域”,主题是 “先进”, 插件: “野生动物园,分页符,样式,图层,表,保存,advhr,的advimage,advlink,情感,iespell,inlinepopups,insertdatetime,预览,媒体,searchreplace,打印,文本菜单,粘贴,方向性,全屏,不可编辑,visualchars,不间断,xhtmlxtras,模板“,

//主题选项 theme_advanced_buttons1: ”save,newdocument,|,bold,italic,underline,strikethrou GH,|,证明左边,中间对齐,证明右边,justifyfull,styleselect,formatselect,fontselect,fontsizeselect”, theme_advanced_toolbar_location: “顶”,theme_advanced_toolbar_align: “左”, theme_advanced_statusbar_location: “底”,theme_advanced_resizing: 真实,

//例内容的CSS(应该是你 网站CSS)content_css: “CSS/content.css”,

//删除了 链接/图像/媒体/模板对话框列出 template_external_list_url: “列出/ template_list.js”, external_link_list_url: “列出/ link_list.js”, external_image_list_url: “列出/ image_list.js”, media_external_list_url: “列出/ media_list.js”,

//替换模板的值 plugin template_replace_values:{ username:“Some User”,staffid: “991234”}}); {/文字}`

+0

请显示在浏览器中呈现的实际代码。 – 2010-04-16 08:14:39

回答

0

的问题通过使用 document.domain = 'mydomain.com';

上述其中一个是在intializing TPL文件TinyMCE的脚本解决。 并取消注释document.domain ='mydomain.com';在tiny_mce_popup.js文件中。