{"id":60872,"date":"2025-04-26T08:43:37","date_gmt":"2025-04-26T00:43:37","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60872\/"},"modified":"2025-04-26T08:43:37","modified_gmt":"2025-04-26T00:43:37","slug":"%e8%ae%a9zencart%e5%ae%89%e8%a3%85%e7%bc%96%e8%be%91%e5%99%a8fckeditor%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60872\/","title":{"rendered":"\u8ba9ZenCart\u5b89\u88c5\u7f16\u8f91\u5668FCKeditor\u4f7f\u7528\u65b9\u6cd5"},"content":{"rendered":"<p> ZenCart\u5b89\u88c5\u4e86 FCKeditor\u7684\u6b65\u9aa4\u8bb0\u5f55\u5982\u4e0b\uff1a<\/p>\n<ol>\n<li> \u9996\u5148\u5230\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d FCKeditor \uff0c\u89e3\u538b\u540e\u4e0a\u4f20\u5230 Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 editors\/fckeditor\/ \u6587\u4ef6\u5939\u4e2d\u3002<\/li>\n<li> \u6253\u5f00 Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 editors\/fckeditor\/_samples\/default.html \uff0c\u9009\u62e9 PHP \u7684 sample \u6d4b\u8bd5 FCKeditor\u80fd\u5426\u6b63\u5e38\u63d0\u4ea4\u3002<\/li>\n<li> \u786e\u5b9a&nbsp;Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 editors\/fckeditor\/fckconfig.js \u6587\u4ef6\u4e2d<br \/> var _FileBrowserLanguage = \u2018php\u2019 ;<br \/> var _QuickUploadLanguage = \u2018php\u2019 ;<\/li>\n<li> \u6253\u5f00 Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b editors\/fckeditor\/editor\/filemanger\/connectors\/php\/config.php\uff0c\u4fee\u6539 $Config[&#8216;Enabled&#8217;] \u503c\u4e3a true\u3002<\/li>\n<li> \u6253\u5f00 Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b editors\/fckeditor\/editor\/filemanger\/connectors\/php\/config.php\uff0c\u8bbe\u7f6e\u9644\u52a0\u7684\u4e0a\u4f20\u76ee\u5f55\uff0c \u4f8b\u5982\uff1a<br \/> $Config[&#8216;UserFilesPath&#8217;] = \u2018\/up\/\u2019 ;<\/li>\n<li> \u628a Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 admin\/includes\/init_includes\/init_html_editor.php \u4e2d\u7684<br \/> \/\/ $editors_list[&#8216;FCKEDITOR&#8217;] = array(\u2019desc\u2019 =&gt; EDITOR_FCKEDITOR, \u2018handler\u2019 =&gt; \u2018fckeditor.php\u2019, \u2019special_needs\u2019 =&gt; \u201d);<br \/> \u8fd9\u53e5\u7684\u6ce8\u91ca\u53bb\u6389\uff0c\u5373\u5220\u6389\u524d\u9762\u7684\u201c\/\/\u201d\u3002<\/li>\n<\/ol>\n<p> \u5230\u6b64FCKeditor\u5df2\u5b89\u88c5\u5b8c\u6210\u3002<\/p>\n<p> 1\u3001\u5728configuration &#8211;&nbsp;&nbsp;&nbsp; html\u7f16\u8f91\u5668&nbsp; \u4e2d\u9009\u62e9\u4f60\u8981\u7528\u7684\u5c31\u53ef\u4ee5\u4e86<\/p>\n<p> 2\u3001\u5728tools&nbsp; EZ-pages\u4e2d\u7684Text Editor\u4e0b\u9009\u62e9\u4e0b\u4f60\u8981\u7528\u7684<\/p>\n<p> \u8fd9 \u6837\u5c31\u8c03\u51fa\u6765\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ZenCart\u5b89\u88c5\u4e86 FCKeditor\u7684\u6b65\u9aa4\u8bb0\u5f55\u5982\u4e0b\uff1a \u9996\u5148\u5230\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d FCKeditor \uff0c\u89e3\u538b\u540e\u4e0a\u4f20\u5230 Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 editors\/fckeditor\/ \u6587\u4ef6\u5939\u4e2d\u3002 \u6253\u5f00 Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 editors\/fckeditor\/_samples\/default.html \uff0c\u9009\u62e9 PHP \u7684 sample \u6d4b\u8bd5 FCKeditor\u80fd\u5426\u6b63\u5e38\u63d0\u4ea4\u3002 \u786e\u5b9a&nbsp;Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 editors\/fckeditor\/fckconfig.js \u6587\u4ef6\u4e2d var _FileBrowserLanguage = \u2018php\u2019 ; var _QuickUploadLanguage = \u2018php\u2019 ; \u6253\u5f00 Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b editors\/fckeditor\/editor\/filemanger\/connectors\/php\/config.php\uff0c\u4fee\u6539 $Config[&#8216;Enabled&#8217;] \u503c\u4e3a true\u3002 \u6253\u5f00 Zen Cart \u5b89\u88c5\u76ee\u5f55\u4e0b editors\/fckeditor\/editor\/filemanger\/connectors\/php\/config.php\uff0c\u8bbe\u7f6e\u9644\u52a0\u7684\u4e0a\u4f20\u76ee\u5f55\uff0c \u4f8b\u5982\uff1a $Config[&#8216;UserFilesPath&#8217;] = \u2018\/up\/\u2019 ; \u628a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-60872","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=60872"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60872\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}