Hello,We have identified what appears to be a routing issue with the Community Builder registration form on Joomla 6.We have a published Joomla menu item for CB Registration:
Code:
index.php?option=com_comprofiler&view=registers
French menu item:
- Title: INSCRIPTION
- Alias: inscription
- Itemid: 103
- Language: fr-FR
- Published: Yes
The registration page itself works correctly.However, the generated registration form action is:
Code:
/fr/component/comprofiler/saveregisters.html
and contains no
.After successful registration, the user therefore ends up on:
Code:
/fr/component/comprofiler/saveregisters.html
instead of remaining within the registration menu context.This also causes our T4 template to fall back to its home layout (
) on the post-registration page, and the normal Joomla system message is not displayed.We traced the generated form action to:
Code:
components/com_comprofiler/plugin/templates/default/default.php
where it uses:
Code:
$_CB_framework->viewUrl('saveregisters', true, null, 'html', ...)
We then traced
to:
Code:
libraries/CBLib/CB/Legacy/CBframework.php
It calls:
Code:
getCBprofileItemid(false, $urlVariables['view'], $additional)
For this request, the view is
.In
Code:
LegacyFoundationFunctions.php
,
Code:
getCBprofileItemid()
therefore looks for a published Joomla menu item whose link matches:
Code:
index.php?option=com_comprofiler&view=saveregisters
Our Registration menu item naturally uses:
Code:
index.php?option=com_comprofiler&view=registers
There does not appear to be any mapping from the processing view
back to the registration view
.Could you please confirm whether this is expected?Should a CB registration form generated from a
menu item preserve that menu Itemid when posting to
?We would expect the POST processing URL to retain the Registration menu context so that the normal Joomla template layout and system messages remain available.We would prefer not to patch CB core files if there is an existing configuration or supported solution for this.Thank you.