shipingzhongcustomrules.info文件
; $Id$
name = Shipingzhong custom rules
description = Shipingzhong Custom rules
core = 6.x
package = custom
project = "shipingzhongcustomrules"
shipingzhongcustomrules.module文件
//它里面没有内容
shipingzhongcustomrules.rules.inc文件
<?php
function shipingzhongcustomrules_rules_action_info() {
$actions = array(
'add_sort_value_action' => array(
'label' => '给课程和教程的排序字段赋初始值',
Note that ?destination=<front> is 一个完全有效 and working parameter (destination goes through url()).