版本
4.7
drupal_add_js($file, $nocache = FALSE)
5
drupal_add_js($data = NULL, $type = ‘module’, $scope = ‘header’, $defer = FALSE, $cache = TRUE)
6
drupal_add_js($data = NULL, $type = ‘module’, $scope = ‘header’, $defer = FALSE, $cache = TRUE, $preprocess = TRUE)
7
drupal_add_js($data = NULL, $options = NULL) (continue reading…)
drupal
Drupal加载JS
Drupal常用模块(Module)列表
1.CCK (Content Construction Kit ) 用途: 添加字段模块
2. Views 用途:生成列表
3. Phptemplate Theme Engine (continue reading…)
drupal_load加载时的内存占用量(drupal 6.x) 一览表
drupal占用的资源中1/3以上耗在加载模块的module文件上。加inc文件应该也占去不少。然后tpl.php模块文件加载几十次,加上各种各样的静态变量,全局变量,局部变量,用个四五十mb的内存也就不奇怪了 (continue reading…)
Incompatible with this version of Drupal core
; $Id$
name = Annotate
description = Allows users to annotate nodes.
package = Example
version = “$Name$” (continue reading…)
Backup and Migrate
Backup/restore your database or migrate data to or from another Drupal site.
http://drupal.org/project/backup_migrate
INSTALLATION:Put the module in your drupal modules directory and enable it inadmin/build/modules.
Configure and use the module at admin/content/backup_migrate
OPTIONAL:Enable token.module to allow token replacement in backup file names.