Difference between revisions of "主题"
Jump to navigation
Jump to search
(Created page with "{{Template开发文档}} {{Template用户手册}} {{TemplateMainPageZh}} = File:wallpaper.png 创建主题 = 为创建新主题,进入目录 'htdocs/theme/' 复制目录...") |
PolyglotBot (talk | contribs) m (Import interlang links (links to translated versions of this page in other languages) from origin English page "Skins".) |
||
Line 1: | Line 1: | ||
+ | <!-- BEGIN interlang links --> | ||
+ | <!-- Do NOT edit this section | ||
+ | Links below are automatically managed by PolyglotBot | ||
+ | You can edit links on the English source page : Skins --> | ||
+ | [[en:Skins]] | ||
+ | [[fr:Themes]] | ||
+ | [[es:Temas]] | ||
+ | <!-- END interlang links --> | ||
+ | |||
{{Template开发文档}} | {{Template开发文档}} | ||
{{Template用户手册}} | {{Template用户手册}} |
Revision as of 13:21, 23 July 2019
创建主题
为创建新主题,进入目录 'htdocs/theme/' 复制目录 'eldy' 中的所有内容到一个以你的主题命名的新目录中。
在此目录中,改就 *.css* 的文件名以匹配目录名。
使用你的信息编辑文件的 AUTHOR。
现在,编辑 CSS 文件 (*.css*), 且替换目录中的图片来自定义你的主题。
新主题将会自动显示在 Setup - Display. 你可以将主题设置为默认,或者 Users and Groups - Display tab 为特定的用户激活特定的主题。
发布你的主题
创建完成新主题后,你可以创建一个安装包来发布它。运行脚本 build/makepack-dolibarrtheme.pl
你会得到一个 .tgz 文件,你可以在 Dolibarr 下载区发布 (Category contrib).