继续Drupal分享精神 站长QQ:2275288328 skype: hellodrupal 【drupal交流+drupal 建站 drupal theme制作,wordpress 开发】
登录 注册

Drupal actions and triggers,drupal 触发器 功能简介与开发

Drupal actions and triggers 可以做做什么?例如
1) 当有用户发表评论的时候可以给管理员发送一封电子邮件。
2) 当一个node删除的时候,系统可以自动发一份邮件给作者
等等。

drupal 提供了actions triggers的 api,可以提供给开发者使用,自己定义actions 和triggers。

具体使用步骤,先去后台模块管理界面开启trigger 模块。
然后在admin/settings/actions/ 下面看到现有的actions
在admin/build/trigger/ 下面可来定义触发器来执行哪些actions。

具体drupal 触发器 和 drupal actions 操作图下图所示。可以体验一下。
drupal actions
drupal 触发器
drupal actions 使用

drupal 触发器使用

评论

为啥我的图要排版就那么难呢

为啥我的图要排版就那么难呢

我只在数据库里面学过触发器。drupal

我只在数据库里面学过触发器。drupal 里面没有研究过的,目前还没有研究完呢,就是看了那个方医生的一本书而已

佳吉托运

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 自动断行和分段。
  • You can use BBCode tags in the text.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.