Module

From Joomla! Documentation

Revision as of 08:56, 27 February 2014 by Simon (talk | contribs) (Created page with "{{Chunk:Module/fr}}")
Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Kiswahili • ‎Nederlands • ‎català • ‎eesti • ‎español • ‎français • ‎hrvatski • ‎italiano • ‎português • ‎português do Brasil • ‎български • ‎中文(台灣)‎ • ‎日本語

Les Modules sont des extensions, légères et flexibles, utilisées pour le rendu de pages. Sur une page classique, ces modules sont des “boîtes” s'affichant autour d'un composant. Le module de connexion en est un bon exemple. Les Modules sont assignés à des éléments de menu, ainsi, vous pouvez par exemple décider de montrer ou de cacher le module de connexion selon la page (élément de menu) que l'utilisateur est en train de consulter. Certains modules sont liés à des composants : le module “derniers articles”, par exemple, lie le contenu du composant de contenu (com_content) et affichera les éléments de contenu les plus récents. Toutefois, les modules n'ont pas besoin d'être liés à des composants ; ni à quoi que ce soit, ils peuvent contenir seulement du HTML statique ou du texte.

Les modules sont gérés par le Gestionnaire de Modules de l'administration Joomla!. Vous trouverez plus d'informations sur la gestion des modules dans les pages d'aide de chaque version :

Voir également : Composant, Plugin, Template

Learning More

Module Positions

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.


Recommended Reading

Modules are one of the simplest parts of Joomla and a great entry point for people learning to use the system (the equivalent of widgets in wordpress). They can be displayed just about anywhere on a page (in all the positions a template allows as well as in the main content area using the loadmodule plugin for the com_content component).

Beginner

To understand how to install and use a module in Joomla it is recommended to read Administration of a Module in Joomla

Beginner/Intermediate

Creating a simple module for Joomla is one of the simplest development steps you can do - and the creating a simple module tutorial is designed to take you through this. It starts with a simple module and then shows a few things you can then do with the module.

Advanced

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

Joomla! Default Modules

Joomla! is packaged with many modules, more are available on the JED(Joomla! Extension Directory). Here are the standard modules available in a new Joomla! installation.

  • Archived Articles    This Module shows a list of the calendar months containing Archived Articles.
  • Articles - Newsflash    The Newsflash Module will display a fixed number of articles from a specific category.
  • Articles - Related Articles    This Module displays other Articles that are related to the one currently being viewed....
  • Articles Categories    This module displays a list of categories from one parent category.
  • Articles Category    This module displays a list of articles from one or more categories.
  • Banners    The Banner Module displays the active Banners from the Component.
  • Breadcrumbs    This Module displays the Breadcrumbs
  • Custom HTML    This Module allows you to create your own HTML Module using a WYSIWYG editor.
  • Feed Display    This module allows the displaying of a syndicated feed
  • Footer    This module shows the Joomla! copyright information.
  • Language Switcher    This module displays a list of available Content Languages (as defined and published in...)
  • Latest News    This Module shows a list of the most recently published and current Articles. Some that...
  • Latest Users    This module displays the latest registered users
  • Login    This module displays a username and password login form. It also displays a link to...
  • Menu    This module displays a menu on the frontend.
  • Most Read Content    This Module shows a list of the currently published Articles which have the highest...
  • Popular Tags    The Popular Tags Module displays the most commonly used tags, optionally within specific...
  • Random Image    This Module displays a random image from your chosen directory.
  • Search    This module will display a search box.
  • Similar Tags    The Similar Tags Module displays links to other items with similar tags. The closeness...
  • Smart Search Module    This is a search module for the Smart Search system.
  • Statistics    The Statistics Module shows information about your server installation together with...
  • Syndication Feeds    Smart Syndication Module that creates a Syndicated Feed for the page where the Module is...
  • Weblinks    This modules displays Web Links from a category defined in the Weblinks component.
  • Who's Online    The Who's Online Module displays the number of Anonymous Users (e.g. Guests) and...
  • Wrapper    This Module shows an iframe window to specified location.