|
|
| Line 1: |
Line 1: |
| {{TemplateDocDevEn}} | | {{Template开发文档}} |
| | {{Template用户手册}} |
| | {{TemplateMainPageZh}} |
|
| |
|
|
| |
|
| | = [[File:wallpaper.png]] 创建主题 = |
|
| |
|
| | 为创建新主题,进入目录 'htdocs/theme/' 复制目录 'eldy' 中的所有内容到一个以你的主题命名的新目录中。 |
|
| |
|
| | 在此目录中,改就 *.css* 的文件名以匹配目录名。 |
|
| |
|
| | 使用你的信息编辑文件的 AUTHOR。 |
|
| |
|
| | 现在,编辑 CSS 文件 (*.css*), 且替换目录中的图片来自定义你的主题。 |
|
| |
|
| | 新主题将会自动显示在 ''Setup - Display''. 你可以将主题设置为默认,或者 ''Users and Groups - Display tab'' 为特定的用户激活特定的主题。 |
|
| |
|
| = [[File:wallpaper.png]] Create a skin =
| |
|
| |
|
| To create a new skin, go into directory 'htdocs/theme/' and copy for example all the directory 'eldy' into a new directory with the name of your skin.
| | = [[File:workcomputer.png]] 发布你的主题 = |
|
| |
|
| In this directory, change name of file *.css* to match name of directory.
| | 创建完成新主题后,你可以创建一个安装包来发布它。运行脚本 '''build/makepack-dolibarrtheme.pl''' |
|
| |
|
| Edit file AUTHOR with your information.
| | 你会得到一个 .tgz 文件,你可以在 Dolibarr 下载区发布 (Category '''contrib'''). |
| | |
| Now, edit the CSS file (*.css*), and all images inside the img directory to personalize your skin.
| |
| | |
| The new skin will appear automatically in the list of available skins in page ''Setup - Display''. This will allow you to activate it by default, or in ''Users and Groups - Display tab'' to activate it for a particular user.
| |
| | |
| | |
| = [[File:workcomputer.png]] Distribute your skin =
| |
| | |
| Once you have created a new skin, you can build a package to distribute it by running the script '''build/makepack-dolibarrtheme.pl'''
| |
| | |
| You will get a file .tgz that you can submit on the Dolibarr download area (Category '''contrib''').
| |