TPL-MODULES-PHP-001
templates/protostar/html/modules.php
modules.php chrome (Bootstrap 2)
J3 module chrome copied well/span/row-fluid. Those classes do nothing on Cassiopeia.
templates/protostar/html/modules.php → Cassiopeia module chrome + BS5 classes
Symptoms people search
module layout broken · modules.php · modChrome
Replace this code
Swap templates/protostar/html/modules.php for Cassiopeia module chrome + BS5 classes.
Joomla 3
Remove or stop calling this
function modChrome_well($module, &$params, &$attribs) {
echo '<div class="well span3">';
}Joomla 4 / 6
Use this instead
Rebuild chrome with card / module-default from Cassiopeia. Use Bootstrap 5 classes.How to fix it
- 1Replace chrome functions from a J4+ template.
- 2Update module class suffixes in the admin.
Also known as
modules.php · modChrome · xhtml chrome
There is no 1:1 swap for this one. The architecture changed. If you cannot rewrite it, Infyways can.
Related issues
- Joomla 3 → 4Templates
Protostar site template
Protostar → Cassiopeia (or a Joomla 4+ template), preferably a child template
- Joomla 3 → 4Templates
ISIS / Hathor admin templates
ISIS → Atum
- Joomla 3 → 4Templates
Beez / Beez3 templates
Beez3 → Cassiopeia
- Joomla 4 → 5Templates
Template without joomla.asset.json
templateDetails.xml only → joomla.asset.json + WebAssetManager in index.php
- Joomla 3 → 4SQL / schema
MyISAM engine in install SQL
ENGINE=MyISAM → ENGINE=InnoDB
- Joomla 3 → 4PHP
mysql_* PHP functions
mysql_query() → Joomla DatabaseInterface / mysqli / PDO