Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Steps to reproduce the issue
Activate "Content - confirm Consent"
display "privacy" article in a modal window
System information (as much as possible)
Joomla 3.9.1, php 7..2
Everthing is OK with Protostar template, but it does not show anything with Beez3 template.
Confirmed. Reported several times for several templates, e.g. ReDim rebase template.
Whenever a template uses an override for default_form.php that doesn't use
Because this field method is not called during rendering: https://github.com/joomla/joomla-cms/blob/3.9.1/plugins/content/confirmconsent/fields/consentbox.php#L172-L187
I totally overlooked this, sorry. While fields should be rendered using
On the same topic, overrides still using label/input directly do not support showon because it's also inside
referenced this issue
Nov 30, 2018
I think we also have a problem because it's based on Bootstrap 2.3. (see https://www.bootply.com/bootstrap-3-migration-guide).
bootstrap.renderModal adds .hide class to modal-jform_consentbox, so it will never show if your template uses bootstrap 3 or 4.
The implementation in 3.9.0 was wrong-ish as it was using the (deprecated) MooTools oriented modal. 3.9.1 changed to use the Bootstrap modal and operated under the assumption that the API was actually being used correctly to render form fields (
#23205 addresses this issue to the extent possible within core. Any alternative framework related issues are going to have to be addressed at the template level, Joomla is not assembling modals that are compatible with every possible CSS framework out there.
Closing, the pull request should be tested.