开发者

Nested overrides in portal_skins folder

How one could override files in nested 开发者_开发知识库portal_skins folder?

The default behavior seems to be that you need to copy whole folder structures if you want to override a single file. This is a maintenance nightmare.

E.g. how to override file:

Producs.TinyMCE/skins/tinymce/plugins/table/js/table.js

... without needing to create a duplicate for the whole Products.TinyMCE skins codebase?


Use z3c.jbot, and put a file in your jbot template directory called Products.TinyMCE.skins.tinymce.plugins.table.js.table.js


You cannot override parts of a nested skins folder structure. If you want to customize things, best to create a new tinymce plugin (like mytables) and copy only the files for that plugin.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜