# First: A simple Drupal 7 Module
The First module provides a block that lists all of the modules currently
enabled on a site.
This module illustrates the following Drupal tools:
* Info files
* Basic module files
* hook_help
* hook_block_info
* hook_block_view
* SimpleTest
* Invoking a hook
* Using t()
## Installation
The First module is installed just like any other Drupal module.
1. Clone this repository or grab a tagged download
2. Put the module in your Drupal installation's `sites/all/modules` directory
3. Go to the `Modules` screen in Drupal administration and enable the module.
## Etc.
Please report any issues you find with this code.
Special thanks to my co-authors (especially sdboyer, who found the only
reported bug) and my technical reviewers.
[Matt Butcher](http://technosophos.com)
[Twitter](http://twitter.com/technosophos)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Drupal 7 module dev.zip (79个子文件)
1162_Code
1162_04_All code
1162_04_Code
single_blog
single-blog-block-item.tpl.php 1KB
CHANGELOG 556B
single_blog.info 172B
single_blog.module 4KB
single-blog-rtl.css 67B
single-blog.css 306B
README 215B
single_blog
single-blog-block-item.tpl.php 1KB
CHANGELOG 556B
single_blog.info 172B
single_blog.module 4KB
single-blog-rtl.css 67B
single-blog.css 306B
README 215B
1162_02_Code
02
first
first.test 877B
._first.test 187B
first.info 175B
README.md 881B
first.module 1KB
._first.info 186B
._first.module 186B
1162_07_Code
dimfield.tar
dimfield
dimfield.info 148B
dimfield.install 820B
dimfield.module 14KB
dimfield
dimfield.info 148B
dimfield.install 820B
dimfield.module 14KB
dimfield-admin.css 60B
dimfield-admin.css 60B
New Folder
dimfield.tar 20KB
dimfield
dimfield.info 148B
dimfield.install 820B
dimfield.module 14KB
dimfield-admin.css 60B
old
dimfield.tar.gz 3KB
dimfield.tar 20KB
1162_10_Code
hello_world
hello_world.module 3KB
hello_world.info 114B
.DS_Store 6KB
1162_12_Code
1162_12_Revised Code
example_install_script.php 2KB
store
store.install.inc 3KB
store.info 615B
store.profile 679B
store.install 2KB
old
example_install_script.php 2KB
store
store.install.inc 3KB
store.info 615B
store.profile 679B
store.install 2KB
1162_11Code
1162_11
twitpic
twitpic.info 228B
TwitpicStreamWrapper.inc 9KB
twitpic.module 4KB
._1162_11.doc 368B
watermark
watermark.module 3KB
watermark.info 198B
old
twitpic
twitpic.info 235B
TwitpicStreamWrapper.inc 9KB
twitpic.module 4KB
watermark
watermark.module 3KB
watermark.info 198B
1162_08_Code
code
role_edit
role_edit.info 145B
role_edit.module 577B
delay
delay.module 466B
delay.info 141B
.DS_Store 6KB
role_access
.DS_Store 6KB
role_access.module 7KB
role_access.info 115B
role_access_extend
role_access_extend.info 169B
role_access_extend.module 4KB
.DS_Store 6KB
1162_06_Code
artwork.tar
artwork.tar 40KB
artwork.tar.gz 6KB
1162_05_Code
1162_05
user_warn
user_warn.module 5KB
user_warn.info 215B
._1162_05.doc 368B
old
user_warn.module 5KB
user_warn.tokens.inc 1KB
user_warn.info 215B
共 79 条
- 1
资源评论
- huangdan2262013-01-19非常实用的一本书
- bingking682012-03-20不错,是《drupal 7 module development》的源代码。可以用来对照书里的例子来学习。
tingan
- 粉丝: 0
- 资源: 51
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功