Drupal

2015-08-02  本文已影响96人  ShindouHikaru
drush | grep pm
drush | grep user-
drush | grep role-
drush pmi pathauto
drush pmi pathauto
drush dl pathauto --select
drush en pathauto -y
 drush en flag
drush dis overlay
 drush pm-updatestatus

drush up drupal
drush up pathauto -y
drush user-create hikaru --mail="80188901@163.com" --password="123456"

drush user-block hikaru# 阻止登陆
drush user-unblock hikaru #取消阻止
 drush user-cancel hikaru #删除用户
  drush ucrt hikaru --mail="80188901@163.com"#创建用户简写
drush user-login hikaru #生成url图形化操作
drush user-password hikaru --password="123456" #修改密码
drush rls #查看所有角色

drush role-create member #创建角色
 drush role-delete member #删除角色
drush role-add-perm author --module=node#添加角色权限
drush user-add-role author hikaru
rush user-information hikaru
drush archive-dump 

drush dl ctools
drush dl views
drush en views views_ui -y
drush dl rules
drush en rules rules_admin -y
drush dl flag
drush en flag -y
drush dl token
drush en token -y
drush dl  pathauto
drush en pathauto -y
drush dl jquery_update --select
drush en jquery_update -y
drush dl libraries
drush en libraries -y
drush dl module_filter
drush en module_filter -y

drush dl l10n_update --select #翻译
drush en l10n_update -y

drush l10n-update-refresh
drush l10n-update
drush l10n-update-status

drush dl adminimal_theme --select #安装主题
drush en adminimal -y
drush vset admin_theme adminimal

drush dis toolbar -y
drush en navbar -y
上一篇下一篇

猜你喜欢

热点阅读