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.phpCassiopeia module chrome + BS5 classes

Dies at Joomla 3 → 4J3: Works nativelyJ4: Changed behaviourJ6: Changed behaviourBC plugin: no — already dead on J4You rewrite thisTemplates

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

  1. 1Replace chrome functions from a J4+ template.
  2. 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

Get in touch

Have a project in mind? Let's talk about it.

Tell us what you're building. Whether it's a new site, an online store, a mobile app, or something that needs AI under the hood, we'll get back to you within a business day.

Free consultation
No commitment, no pressure
Reply within 24 hours
Usually much faster

Prefer a direct conversation?

Request a project quote

Tell us about your project

Fill out the quick form and we'll reach out.