安装完成之后,你应该了解T3框架的目录结构, 他将展示文件是如何工作的.
T3_blank 模板
T3整合了Bootstrap, 使用LESS开发. 所以当你开发你的网站,你使用LESS文件来定制风格
templates/t3_blank/ ├──less/ /* 所有LESS文件在这里 │ ├── themes/ /* 所有的模板目录和文件在这里 │ ├── bootstrap.less │ ├── bootstrap-responsive.less>/span> │ ├── home-responsive.less │ ├── layout.less │ ├── ... ├── css/ /# 所有已编译的文件在这里 │ ├── themes/ /* 所有的模板目录和文件在这里 │ ├── bootstrap.css │ ├── bootstrap-responsive.css │ ├── custom.css │ ├── home.css │ ├── template.css │ ├── ... ├── fonts/ ├── js/ │ ├── com_contact/ │ ├── com_content/ │ ├── ... ├── tpls/ /* 所有布局和区块文件 │ ├── block/ /* 所有的区块文件 │ │ ├── footer.php │ │ ├── footnav.php │ │ ├── header.php │ │ ├── ... │ ├── default.php │ ├── default-content-left.php │ ├── default-content-right.php │ ├── home-1.php │ ├── home-2.php ├── images/ ├── languages/ │ ├── en-GB.tpl_ja_t3v3_blank.ini │ ├── en-GB.tpl_ja_t3v3_blank.sys.ini ├── templateDetail.xml /* 此文件是用来添加新的群组, 作为全局参数, 位置配置参数, 覆写 ThemeMagic 变量 ... ├── templateInfo.php/ ├── index.php/ └── index.html
最重要的文件是: less
. 此目录包含所有用于开发你网站的LESS文件, LESS文件可编译成CSS文件
T3 系统插件
当你安装完t3系统插件,插件里包含Bootstrap库可用于开发你的网站. 我们推荐你不要定制插件里的文件, 所有的操作应该在t3_blank 模板中进行
plugins/system/t3/base ├── css/ │ ├── layout-custom.css │ ├── menu.css │ ├── thememagic.css ├── bootstrap/ /* Bootstrap 目录库 │ ├── css/ /* 在bootstrap库中的css文件 │ ├── ico/ │ ├── img/ │ ├── js/ │ ├── less/ /* 包含所有less file │ │ ├── accordion.less │ │ ├── form.less │ │ ├── ... ├── images/ ├── js/ ├── paras/ ├── tpls/ ├── html/ ├── params/ ├── tpls/ ├── component.php ├── error.php ├── index.html ├── index.php └── offline.php
添加新评论