模块

在Tiki中, a module is simply a box of content (which may or may not have "chrome" such as borders and title backgrounds). All side-column information of this site is presented through modules. The Modules Admin page is used to add modules to and manage modules in the module zones of a Tiki site.

Here's a screenshot:

Module
Default Tiki page with the Menu module in the left column.
Some common uses for modules are to:
  • Display menus
  • Add special features
  • Display custom information to users
  • List most recent or most frequent actions or items


After adding modules, you can re-order them, assign permissions to them (so they appear only for specific user groups ), or even allow them to be customized by specific users.

 Note
尽管它们被称为“模块”,但几乎所有内容都包含在默认的Tiki安装中。没有额外的“附件”需要安装才能使用这些模块。

配置和显示模块

For site-wide module settings, click the General icon on the Admin Panels or Access http://example.org/tiki-admin.php?page=general.
These settings will apply to all modules on the site and are explained in more detail at Module Admin.

有两种方法可以配置和显示单个模块:

  1. Using the Admin Modules Panel
    • Located at Admin->Modules or tiki_admin_modules.php
    • Allows you to:
      • Set module parameters
      • Create custom modules
      • Place modules in the left or right column and, since Tiki7, other areas like the page header and footer
    • Documentation at Module Admin
  2. Using PluginModule
    • Allows you to:
      • Display a module in a page or within other features (like blogs, articles, etc.) besides the left or right columns
      • Also place module content inside of a user module
      • Set module parameters
    • See Index of Modules

Modules vs. Plugins

The distinction between modules and wiki plugin is a little blurry. Technically speaking, modules are the containers and plugins are the content. However, the predefined modules included with the default Tiki installation contain plugins/content, but they are commonly called modules, too.

Where to Go From Here

相关页面

别号
  • ...