Environment:
- Joomla 6
- Community Builder 6.x
- CB Template Changer 6.0.0
- Gantry 5 / Helium template
What we are building: A token-driven site-wide theming system where CB Template Changer serves as the master theme controller. CSS custom properties (
variables) are defined in the CB Template Changer template Overrides tab, and all styling rules for CB, Gantry, Bootstrap, and third-party CB plugins read from those variables. The goal is user-selectable themes via a CB profile field, where switching themes updates the entire site appearance without touching any core files.
The problem: The custom template CSS is applying correctly to every CB route EXCEPT the logged-in user's own profile page (
).Pages where the custom template IS working:
- Public profile (
)
- Member list (
)
- Registration (
root)
- Community Hubs / GroupJive categories
Page where the custom template is NOT working:
- Logged-in profile home (
)
Diagnostic evidence: We pulled the raw HTML source from the logged-in
page and searched all stylesheet hrefs. Every CB-related CSS file loading on
comes from
Code:
/components/com_comprofiler/plugin/templates/default/
β the CB core default template. Our custom template (
) does not appear anywhere in the source. No
loads at all on that route.The body class on
is:
Code:
gantry g-helium-style site com_comprofiler view-userprofile no-layout no-task dir-ltr itemid-111 outline-12
We confirmed this is
β but even adding:
css
Code:
body.view-userprofile { background: yellow !important; }
directly to the Overrides tab had zero visible effect on
, confirming the override CSS is not in the render pipeline for that route.
What we have already checked:
- CB Template Changer plugin is published β
- Custom template is set as Default in the Templates list β
- Template User is set to Displayed (not Viewer) β
- CB Configuration β User Profile β Template is set to Custom β
- No Joomla cache is active β
- Hard refresh confirmed β
The question: Why does the logged-in
route bypass CB Template Changer entirely and load from
Code:
plugin/templates/default/
regardless of settings? Is there a separate template assignment specifically for the Profile View (Home) / Canvas (Home) layout that overrides the global template setting? Is this a known behavior difference between viewing your own profile vs viewing another user's profile?Any guidance appreciated.