- 了解Acquia Lightning
使用drush安装devel模块不好使
1drush dl devel --selectDrupal First Time User Guide - Drupal Learning Curve in One Page
- drupal-8-debugging-techniques
- Welcome to Cog: A New Drupal 8 Base Theme
- acquia-drupal-planet
- Drupal How-To: Find great beginner tutorials on Drupal 7
https://www.acquia.com/comment/256931 - Drupal 8 Tutorials for Beginners
https://dev.acquia.com/blog/drupal-8-tutorials-for-beginners/19/07/2016/10491 - The Beginners Guide to Drupal 8
https://www.ostraining.com/class/d8-beginner/ - views练习
- 通读Heather James所有文章
- Download Drupalize.Me Video(只能下载免费的)
drupal8 不能实现
- Entity Reference Views Help Drupal Content Creators
- Entity Views Attach: Use Views Almost Anywhere
使用hook修改sql应该可以实现这个功能
https://api.drupal.org/api/drupal/core%21modules%21views%21views.api.php/function/hook_views_query_alter/8.2.x
在node.views_execution.inc中添加hook可以修改sql语句
1234567891011121314151617181920212223242526272829303132333435// 这个可以添加groupBy// 但是好像只要join表了,就默认添加表的id到groupby//错误消息"SQLSTATE[42000]: Syntax error or access violation: 1055 'lyssite_dev.field_tag_taxonomy_term_field_data.nid' isn't in GROUP BY: SELECT DISTINCT"function node_views_pre_execute(ViewExecutable $view) {if ($view->id() == 'eva_test2') {$view->build_info['query']->groupBy('taxonomy_term_field_data.tid');$view->build_info['query']->groupBy('taxonomy_term_field_data.name');}}// 这个不能添加groupbyfunction node_views_query_alter($view, $query) {//if ($view->id() == 'eva_test2' && $view->getDisplay()->display['id'] == 'entity_view_1') {if ($view->id() == 'eva_test2') {//$query->add_groupby = array(array('field'=> 'tid'));/*$query->fields = array('taxonomy_term_field_data_name' => array('field'=> 'name','table'=> 'taxonomy_term_field_data','alias'=> 'taxonomy_term_field_data_name'),'tid' => array('field'=> 'tid','table'=> 'taxonomy_term_field_data','alias'=> 'tid'));*/}}- Show Only Specific Levels of Taxonomy in Views
- How to Create a Popular Articles View in Drupal
自定义views时,block不能实时更新点击数量
无法显示drupal8自带的Popular Content模块 - How to Rewrite the Output of Views with PHP
使用php代码输出内容
views_php模块有bug,无法使用 - Use Views to Display Fields inside Panels
d8在使用上和例子不同
- Views Bulk Operations Makes Mass Updates Easy in Drupal
VBO模块正在移植到drupal8的进程中
- 学习db查询和views相关hook