Standard Module Chromes/de: Difference between revisions
From Joomla! Documentation
Created page with "Standard Modul Chromes" |
Updating to match new version of source page |
||
| Line 4: | Line 4: | ||
{| style="width:100%" class="wikitable" | {| style="width:100%" class="wikitable" | ||
|+ '''Comparison of the Joomla! standard Module chromes''' | |+ '''Comparison of the Joomla! standard Module chromes''' | ||
These are the same from Joomla! 1.5 through 3. | These are the same from Joomla! 1.5 through 3.x | ||
!width="100" | Style | !width="100" | Style | ||
!Output | !Output | ||
| Line 115: | Line 115: | ||
Note that the Module chrome doesn't necessarily change the appearance all that much - this depends on the CSS used in the template. For example, the '<tt>none</tt>' and '<tt>horz</tt>' chromes look very similar, although the underlying HTML code is very different. | Note that the Module chrome doesn't necessarily change the appearance all that much - this depends on the CSS used in the template. For example, the '<tt>none</tt>' and '<tt>horz</tt>' chromes look very similar, although the underlying HTML code is very different. | ||
Other notes: The <tt> | Other notes: The <tt>horz</tt> is just the <tt>table</tt> layout, wrapped in a <tt>table</tt>, <tt>tr</tt>, and <tt>td</tt>. | ||
The software controlling these is in the file <tt>/templates/system/html/modules.php</tt> | Until Joomla! 3: The software controlling these is in the file <tt>/templates/system/html/modules.php</tt>. | ||
'''Changes since Joomla! 4''' | |||
* The standard chromes <tt>horz</tt>, <tt>rounded</tt> and <tt>xhtml</tt> have been removed from core. | |||
* The core module chromes are controlled by <tt>JLayout</tt> files in directory <tt>/layouts/chromes/</tt>. | |||
<noinclude> | <noinclude> | ||
Latest revision as of 23:14, 12 March 2020
Note that this example includes class additions because the examples are taken using mod_mainmenu. The suffix "_menu" to the div class and the "menu" class on the ul tag are not present with other modules.
Note that the Module chrome doesn't necessarily change the appearance all that much - this depends on the CSS used in the template. For example, the 'none' and 'horz' chromes look very similar, although the underlying HTML code is very different.
Other notes: The horz is just the table layout, wrapped in a table, tr, and td.
Until Joomla! 3: The software controlling these is in the file /templates/system/html/modules.php.
Changes since Joomla! 4
- The standard chromes horz, rounded and xhtml have been removed from core.
- The core module chromes are controlled by JLayout files in directory /layouts/chromes/.






