Drupal学习第三条-功能模块的安装
昨天我们说到了Drupal 的安装和汉化。 相信大家都会认为这是一个非常简单的事情。当然,也是非常的有趣。
山河在这里提醒大家一声,安装模板是一个非常有趣的事情,但是真正建站的时候,切不可使用过多的模板。否则会导致网站数据臃肿,速度变慢。 应该多重(chong)用,数量上少用模板!
Drupal5.6初始的模块安装有:
核心模块(必须):
Block 控制在主内容周围显示的框。
Filter 为显示处理内容过滤。
Node 允许内容被提交到站点并显示。
System 管理整体站点设置。
User 管理用户注册和登录系统。
Watchdog 记录系统事件。(日志)
模块(选择)
| Aggregator | 5.6 | Aggregates syndicated content (RSS, RDF, and Atom feeds). |
| Blog | 5.6 | Enables keeping easily and regularly updated user web pages or blogs. |
| Blog API | 5.6 | Allows users to post content using applications that support XML-RPC blog APIs. |
| Book | 5.6 | Allows users to collaboratively author a book. |
| Color | 5.6 | Allows the user to change the color scheme of certain themes. |
| Comment | 5.6 | Allows users to comment on and discuss published content. Required by: Forum (disabled), Tracker (disabled)
|
| Contact | 5.6 | Enables the use of both personal and site-wide contact forms. |
| Drupal | 5.6 | Lets you register your site with a central server and improve ranking of Drupal projects by posting information on your installed modules and themes |
| Forum | 5.6 | Enables threaded discussions about general topics. Depends on: Taxonomy (enabled), Comment (enabled)
|
| Help | 5.6 | Manages the display of online help. |
| Legacy | 5.6 | Provides legacy handlers for upgrades from older Drupal installations. |
| Locale | 5.6 | Enables the translation of the user interface to languages other than English. |
| Menu | 5.6 | Allows administrators to customize the site navigation menu. |
| Path | 5.6 | Allows users to rename URLs. |
| Ping | 5.6 | Alerts other sites when your site has been updated. |
| Poll | 5.6 | Allows your site to capture votes on different topics in the form of multiple choice questions. |
| Profile | 5.6 | Supports configurable user profiles. |
| Search | 5.6 | Enables site-wide keyword searching. |
| Statistics | 5.6 | Logs access statistics for your site. |
| Taxonomy | 5.6 | Enables the categorization of content. Required by: Forum (disabled)
|
| Throttle | 5.6 | Handles the auto-throttling mechanism, to control site congestion. |
| Tracker | 5.6 | Enables tracking of recent posts for users. Depends on: Comment (enabled)
|
| Upload | 5.6 | Allows users to upload and attach files to content.
|
这些模板的功能,我们下面会给大家介绍的。 有的是我用过的,有的我还没有测试。
如果你用Drupal主要是为了建个Blog 建议你开启此功能。 山河勾选了 blog 和 Upload 这2个功能模块。 点击保存
这样你就可以使用博客功能了。
Blog 和 Upload 分别就是 博客和 文件上传的模块
一般来说,使用着2个就可以进行简单的博客功能了。
下面我们继续 研究其他实用模块。
主要说的是,非核心模块的安装和使用方法
今天主要说的是:tinymce 一款可视化的在线输入工具!
Tinymce * TinyMCE WYSIWYG Editor:
TinyMCE所见即所得文本编辑器,用于编辑输入文章内容。 更多介绍模板作用 请参考我的另外一个帖子
http://bbs.zzbaike.com/thread-171-1-1.html
首先,我们去下载Drupal 的对应的TinyMCE的模板。
http://drupal.org/project/tinymce 下载想对于的版本
第一次我以为这个模块下载完后,直接就可以安装使用了。谁知道,还需要下载一个功能模块的。 就是TinyMCE的编辑文件
具体地址:
http://tinymce.moxiecode.com/download.php 我下载的是Download TinyMCE 2.1.3 stable 稳定版本
将
Tinymce 模块下载后,解压缩到 modules\ 下,之后 modules\tinymce ; 然后再将编辑器解压缩到modules\tinymce ,之后应该是
这些都准备好后,可以进入 管理-模块
开启
Tinymce 了
这样,安装Tinymce 就全部完成了。
至于如何使用,还是大家自己摸索吧 。其他模板的安装也差不多。 大家可以看看我上面的模板介绍。自己选择自己需要的模板进行安装。
明天,我们应该就会接触更多有用且好玩的东西了。
学习Drupal 乐在其中 --- 山河!
[
本帖最后由 山河 于 2008-1-18 11:50 编辑 ]