Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对使用 SugarCRM 进行学习和开发非常陌生(一周)。
我正在研究一组模块,其中 3 个模块一起为自定义项目系统工作。不过,我需要用我的扩展打包一组大约 30 张图像。
打包图像或任何资产的最佳方式是什么,无论是 css、javascript、图像吗?
我是否应该将它们简单地保存在模块中的文件夹下并在该位置链接到它们? /custom/modules/moduleNameHere/images/
/custom/modules/moduleNameHere/images/
公认的规范是将它们放在 custom/themes/default/images 中,但如果这些图像永远不会被主题更改,那么您的方式也很好。