Standard Module Chromes: Difference between revisions
From Joomla! Documentation
mNo edit summary |
Changes in J!4 |
||
| Line 128: | Line 128: | ||
<translate><!--T:13--> | <translate><!--T:13--> | ||
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>.</translate> | ||
<translate><!--T:14--> | <translate><!--T:14--> | ||
The software controlling these is in the file</translate> <tt>/templates/system/html/modules.php</tt> | Until Joomla! 3: The software controlling these is in the file</translate> <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> | ||
Revision as of 21:00, 11 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/.






