Drupal Chongqing: Code Sprint, Apr 23, 14:00 - 17:30

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
jungle's picture
Start: 
2017-04-23 14:00 - 17:30 Asia/Shanghai
Organizers: 
Event type: 
Sprint

Everyone is welcome;Bring your laptop. If possible, install git before coming, git clone Drupal 8 core and setting up a dev env. For new folks: you can get a head start also by making an account on Drupal.org and taking a look at the Drupal Ladder http://drupalladder.org/, Drupal Projects https://www.drupal.org/project/projects and related projects.

Location: A1-2507, Chongqing Medical University, Chongqing University Town (GPS coordinates:29.625626,106.304482)

Cost:AA


欢迎任何人参加。如果可能,来之前请安装好 git,使用 git 克隆好 Drupal 8 核心的代码,并配置好开发环境。 对于新朋友:您可以提前注册一个官网账号,并了解一下 Drupal Ladder http://drupalladder.org/, Drupal Projects https://www.drupal.org/project/projects 以及相关项目。

地点:重庆大学城,重庆医科大学A1-2507, GPS 坐标:29.625626,106.304482 (A1:求真楼)
费用:AA

Comments

423 ChongQing Code

jian he's picture

423 ChongQing Code Sprint日志:

  1. 介绍了business_core:admin_lte主题发展现状,大家决定将admin_lte从business_core独立出来,形成了独立的project: https://www.drupal.org/project/admin_lte

  2. 介绍了business_core:quick_code(基础数据管理)的发展现在及上周新开发的business_core:code(编码字段)模块,下一步急需解决token替换问题: https://www.drupal.org/node/2872076 @jungle介绍了 auto_nodetitle 模块,可以参考这个模块的token实现方法。

  3. 介绍了表单布局的现状以及下一步急需解决的问题: https://www.drupal.org/node/2872078

  4. @jungle介绍了通过coder模块进行本地化的代码检查。

  5. @jungle介绍了docker使用方法。

我这里没说到的大家可以继续补充哈。

已经是第二次参加

liumwei's picture
  1. 看到AdminLTE在Drupal8下用起来了,@jian he做了极大努力。尽管还有不完善,但是相信有更多人加入其中,会让它早日稳定在Drupal8下。

  2. 内容编辑中如何将Authoring information和Publishing options授权给其他非管理员用户或角色, @jian he @jungle @others有没有更好地办法实现呢?

  3. CodeSprint能不能有一个中文名字,让人更容易记住?

补充

jungle's picture
  1. 利用 auto_nodetitle 模块介绍了Drupal 7 里 token 的使用, 以及演示了Drupal 8 中的 display suit 模块, 通过添加自定义字段,来实现 auto_nodetitle 所实现的功能, 即 Drupal 8 中 token 的使用。 以及 business_core:code(编码字段)模块 可以参考 token 中的自定义时间的实现。

  2. Drupal 7 微信模块卸载后再次启用的一些问题,

  3. render(), renderRoot() 的区别

再补充

jungle's picture
  • 刘老师那边遇到的关于内容审核,或工作流问题的相关讨论
cqiu's picture

工作流问题比较普遍,值得花时间找个好的解决方案。

Drupal7中wechat卸载和重启用解决办法

liumwei's picture

如果碰到wechat不能完全卸载,可按@jungle 提示的流程来进行:

  1. 先禁用wechat,然后卸载wechat。如果features有启用,还需禁用和卸载(drush features-revert wechat)。

  2. 删除wechat相关菜单、视图、内容及内容类型。

  3. 清空缓存。若是phpmyadmin,可选中cache相关表,清空其中的值(注意是清空)。并在phpmyadmin中搜索删除wechat相关数据表及表中值。

补充微信卸载,重新启用前的处理步骤

jungle's picture
  1. 禁用模块,卸载模块,feature 没卸载
  2. 删除 menu-wechat, (写代码方式)
  3. 删除微信相关视图
  4. 删除微信相关内容类型,微信
  5. 删除 menu_links 表中 wechat 相关记录,第一页 6条,第二页7条
  6. 微信相关 field_revision 5 个
  7. 微信相关 field_data 5 个
  8. variables表中微信相关变量 第3页:3条, 第2页:3条, 第1页:12条,(分页500条/页)
  9. drush features-revert wechat
liumwei's picture

进行这些操作后,我主要采用了phpmyadmin来进行清空、搜索和删除操作。最后最好执行一下update.php。

Chongqing

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week