モジュール

From Joomla! Documentation

Revision as of 22:53, 10 November 2014 by FuzzyBot (talk | contribs) (Updating to match new version of source page)
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Kiswahili • ‎Nederlands • ‎català • ‎eesti • ‎español • ‎français • ‎hrvatski • ‎italiano • ‎português • ‎português do Brasil • ‎български • ‎中文(台灣)‎ • ‎日本語

Modules are lightweight and flexible extensions used for page rendering. These modules are often “boxes” arranged around a component on a typical page. A well-known example is the login module. Modules are assigned per menu item, so you can decide to show or hide (for example) the login module depending on which page (menu item) the user is currently on. Some modules are linked to components: the “latest news” module, for example, links to the content component (com_content) and displays links to the newest content items. However, modules do not need to be linked to components; they don't even need to be linked to anything and can be just static HTML or text.

Modules are managed in the Joomla! Administrator view by the Module Manager. More information about module management can be found on the appropriate version help screens.

参照: コンポーネント, プラグイン, テンプレート

もっと詳しく

モジュールポジション

A module position is a placeholder in a template. Placeholders identify one or several positions within the template and tell the Joomla! application where to place output from modules assigned to a particular position. The template designer has complete control over module positions, creating variations between templates and the respective Joomla! default positions assigned to modules in the installation sample data.

For example, the module position Left could be defined to be on the left side of the template to display a site navigation menu. So if a module is assigned the Left position, it will be displayed wherever the designer puts that Left module position - not necessarily the left side of the page.


参考資料

モジュールは最もシンプルなJoomlaのパーツの1つであり、このWordPressのウィジェットに相当するシステムの使い方を学ぶ人には最適エントリポイントです。モジュールはページのどこにでも (メインコンテンツと同様に、テンプレートが許可するすべてのポジションで com_content コンポーネントの loadmodule plugin を使って)表示できます。

Beginner

To understand how to install and use a module in Joomla it is recommended to read Administration of a Module in Joomla You can read Module Manager Custom HTML for an example.

初級/中級者向け

Joomlaのための簡単なモジュールの作成はあなたができる最も簡単な開発工程の1つです。そして 簡単なモジュールの作成 チュートリアルは、この一連の流れを解説しています。シンプルなモジュールで始まり、その後はモジュールを使ってできるいくつかのことを解説しています。

Advanced

Introduced into Joomla 3.2 is a hidden component that allows modules to create AJAX requests. You can find documentation about Using Joomla Ajax Interface to help you create even better modules.

Joomla! デフォルトモジュール

Joomla! には多くのモジュールが同梱されており、その他にもJED(Joomla! Extension Directory)には多くの利用可能なモジュールがあります。これらはJoomla!のインストールで利用可能な標準モジュールです。

  • アーカイブされた記事    このモジュールは、アーカイブされた記事を含む暦月のリストが表示されます。
  • 記事 - ニュースフラッシュ    ニュースフラッシュモジュールは、特定のカテゴリから設定した数の記事が表示されます。
  • 記事 - 関連記事    このモジュールは、現在表示されている記事に関連する他の記事を表示します....
  • 記事 複数カテゴリ    このモジュールは、記事親カテゴリからカテゴリの一覧が表示されます。
  • 記事 カテゴリ    This module displays a list of articles from one or more categories.
  • バナー    バナーモジュールは、コンポーネントからアクティブなバナーを表示します。
  • パンくず    このモジュールはパンくずを表示します
  • カスタムHTML    このモジュールを使用すると、WYSIWYGエディタを使用して、独自のHTMLモジュールを作成することができます。
  • フィード表示    このモジュールは配信されたフィードを表示します。
  • フッタ    このモジュールはJoomla!の著作権情報を表示します。
  • 言語スイッチャー    このモジュールは(定義され公開されている)コンテンツ言語のの一覧を表示します。
  • 最新のニュース    このモジュールは最近公開された記事の一覧を表示します。Some that...
  • 最新のユーザー    このモジュールは最近登録されたユーザを表示します
  • ログイン    このモジュールは、ユーザー名とパスワードのログインフォームを表示します。またリンクが表示されます...
  • メニュー    フロントエンドでメニューを表示します。
  • 最も読まれているコンテンツ    公開された中で最も読まれている記事を表示します。
  • 人気のタグ    最も使われているタグを表示します。 optionally within specific...
  • ランダム画像    選んだディレクトリから画像をランダムに表示します。
  • 検索    検索ボックスを表示します。
  • 類似したタグ    類似するタグのその他のアイテムへのリンクを表示します。The closeness...
  • スマートサーチモジュール    スマート検索システム用の検索モジュールです。
  • 統計    あなたのサーバの構成などの情報を表示します。
  • フィード配信    そのモジュールの位置にページ配信フィードアイコンを作成、表示します。
  • Webリンク    Webリンクコンポーネントで定義されたカテゴリからWebリンクを表示します。
  • オンライン中のユーザ    匿名ユーザーの数(例:ゲスト)を表示します。
  • ラッパー    指定された場所にはiframeのウィンドウを表示します。