Case Study 1: Chicken Soup for the Soul 发表于 2017-06-12 模拟实现Chicken Soup for the Soul站点。 业务需求 做前设计 需求 drupal实现 公司简介(Wo We Are) Basic page conte ... 阅读全文 »
scale and crop image 发表于 2017-06-06 图片水平,垂直居中,切掉上下多余部分,高度随着宽度变化 123456789101112131415161718192021222324252627282930313233343536373839404 ... 阅读全文 »
Hooks 发表于 2017-06-05 Hooks是module定义的特殊名称的funcion。通常用来修改core module的行为或数据。 php方式理解hook为了完成某项任务定义函数,随着时间的推移,业务的变化,你想要修改这个函数 ... 阅读全文 »
add css and js to theme 发表于 2017-06-02 drupal8以asset library形式来管理css和js.asset library在themes/theme_name/theme_name.libraries.yml文件中定义.asset ... 阅读全文 »
manage database code files 发表于 2017-05-31 drupal8中需要管理的内容主要包括database,code,files. 三种数据的管理 drupal8中很多内容都存储在database中,比如content types,站点名称,使用vie ... 阅读全文 »
多语言 发表于 2017-05-27 drual8的多语言功能超赞!易用! 安装多语言模块 各模块功能 language模块是其他3个模块的基础模块 interface translation模块用来翻译界面 Content transl ... 阅读全文 »
drupal develop settings 发表于 2017-05-27 在进行drupal8开发前,请确保配置以下项目。这样可以节省很多时间! 执行时间设置在sites/default/settings.php中添加以下内容,不限制执行时间.1ini_set(' ... 阅读全文 »
responsive 发表于 2017-05-26 在自适应主题(bootstrap,zen)的基础上进行开发,再对特殊的页面或区域进行调整 推荐的media query1234567891011121314151617181920212223/* S ... 阅读全文 »
atom 发表于 2017-05-24 atom相关索引页。 安装atom安装package 使用代理windows下代理启动atom1http_proxy=http://192.168.20.20:8080 https_proxy=htt ... 阅读全文 »
views module 发表于 2017-05-15 views模块主要用来查询网站中数据(从哪个表查询数据,用什么条件过滤,取得哪些字段),并配置以何种format(list,table)及何种dispaly(page,block)来显示这些数据。 模 ... 阅读全文 »