我想创建一个新的主题Sugar CRM 6.1.0。
我复制了默认主题,但是js、css等资源仍然来自默认主题。
我已经更改了config.php中的默认主题。

最佳答案

最简单的事情是使用其中一个糖类主题并根据需要修改它。
复制/themes/sugar/*到/custom/themes/mytheme/
根据需要修改madeef.php文件:

$themedef = array(
'name' => "MySugar", // theme name
'description' => "Sugar theme for me", // optional, short description of the theme
'parentTheme' => "Sugar", // name of the theme this theme inherits from, in this case the Sugar theme
);

parentTheme是可选的,如果未提供,则使用sugar的默认主题。
/custom/themes/mytheme中的所有资源都将覆盖parenttheme。
有关详细信息,请参见:http://developers.sugarcrm.com/docs/OS/6.1/-docs-Developer_Guides-Sugar_Developer_Guide_6.1.0-Chapter%204%20Customizing%20Sugar.html#9000992

关于php - 如何为SugarCRM 6.1.0创建新主题,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/4569387/

10-12 07:40
查看更多