首页 » drupal没有伞的孩子必须努力奔跑! 你不勇敢,没人替你坚强。
萌网小萌
分类 drupal 下的文章
drupal8忘记密码怎么办

View more

drupal8忘记密码怎么办

Generate a new password First, you have to generate a password hash that is valid for your site.Execute the following commands from the command line, in the Drupal 8 root directory: $ php core/scripts/password-hash.sh 'your-new-pass-here' password: your-new...
drupal7伪静态遇到的坑

View more

drupal7伪静态遇到的坑

萌嘟嘟按照以往的经验再新环境下安装drupal7,下方时lnmp1.3一键包下的vhost配置 location ~ '\.php$|^/update.php' { fastcgi_split_path_info ^(.+?\.php)(|/.*)$; # Security note: If you're running a version of PHP older ...
Drupal678 如何添加分类

View more

Drupal678 如何添加分类

在 Drupal6 下添加分类如下: 建个术语表,对指定的内容类型(如story)启用此术语表 向术语表中添加术语/词汇 创建指定的内容类型,选择分类 然后可以通过 taxonomy/term/[tid] 查看指定分类下的...
drupal8伪静态 You are not authorized to access this page

View more

drupal8伪静态 You are not authorized to access this page

新搭建了一个drupal8站点,还没开始愉快的玩耍就一直报 You are not authorized to access this page。萌嘟嘟就纳闷了,我刚上来admin的role咋也给报这问题。 查来查去原来是伪静态规则的问题,当时为了偷...
drupal配置Memcache Storage

View more

drupal配置Memcache Storage

在drupal下配置memcache结果报没有使用上: 0 cache bins use Memcache Storage as a cache backend Currently there are no cache bins configured to use memcached. See README.txt file for more info. 先用drush下载Memcache Storage模块,省的去d...
Drupal 8: Mismatched entity and/or field definitions

View more

Drupal 8: Mismatched entity and/or field definitions

You might noticed "Mismatched entity and/or field definitions" error in your status report page. 这篇文章将帮助你找到这个问题的原因和解决方案. Mismatched entity and/or field definitions问题分析 在启用 "pathauto"模块或者更新...
drupal安装drush

View more

drupal安装drush

1、在项目目录下放一个composer.json文件,内容: { "require": { "drush/drush": "7.*" }, "repositories": { "packagist": { "type": "composer", "url": "https://packagist.phpcomposer.com" ...
drupal设置form提交页面

View more

drupal设置form提交页面

module模块的.module文件中 function SynchronizeCrowd_menu() { $items = array(); $items['remove/user'] = array( //定义访问路径 /remove/user 'title'=>'排除员工', 'description' => '排除的员工', 'pag...
drupal定时跑cron

View more

drupal定时跑cron

/** Implements hook_cron().*/ function hf_remind_cron(){ $result = db_query('SELECT title,nid FROM {node}'); $queue = DrupalQueue::get('send_emails'); //使用drupal的cron api foreach ($result as $hf_info) { $queue->createItem($hf_info); ...
Drupal 8 安装告警: 未启用 OPcache

View more

Drupal 8 安装告警: 未启用 OPcache

Drupal 8 在安装流程中出现告警提示:OPcode Caching 未启用。OPcode Caching 即 OPcache,它通过将 PHP 脚本预编译的字节码存储到共享内存中来提升 PHP 的性能,存储预编译字节码的好处就是省去了每次加载...