Joomla CMS  2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
Référence du fichier templates/atomic/html/modules.php

Espaces de nommage

namespace  Joomla\Site

Fonctions

 modChrome_container ($module, &$params, &$attribs)
 modChrome_bottommodule ($module, &$params, &$attribs)
 modChrome_sidebar ($module, &$params, &$attribs)

Documentation des fonctions

modChrome_bottommodule (   $module,
$params,
$attribs 
)

Références endif.

modChrome_container (   $module,
$params,
$attribs 
)

This is a file to add template specific chrome to module rendering. To use it you would set the style attribute for the given module(s) include in your template to use the style for each given modChrome function.

eg. To render a module mod_test in the sliders style, you would use the following include: <jdoc:include type="module" name="test" style="slider" />

This gives template designers ultimate control over how modules are rendered.

NOTICE: All chrome wrapping methods should be named: modChrome_{STYLE} and take the same two arguments.

This module chrome file creates custom output for modules used with the Atomic template. The first function wraps modules using the "container" style in a DIV. The second function uses the "bottommodule" style to change the header on the bottom modules to H6. The third function uses the "sidebar" style to change the header on the sidebar to H3.

Références endif.

modChrome_sidebar (   $module,
$params,
$attribs 
)

Références endif.