No Code Attached Yet
avatar heytoufiq
heytoufiq
19 Feb 2025

We've identified that the default value in the option.xml file needs to be updated. If it currently has default="0" it should be changed to an empty string: default=""

templates/shaper_helixultimate or your_template/options.xml

For example, change this:
<field name="predefined_header" 
type="checkbox"  
helixgroup="header"  
label="HELIX_ULTIMATE_PREDEFINED_HEADER"  
description="HELIX_ULTIMATE_PREDEFINED_HEADER_DESC"  
default="0" />  
To this:
<field name="predefined_header" 
type="checkbox"  
helixgroup="header"  
label="HELIX_ULTIMATE_PREDEFINED_HEADER"  
description="HELIX_ULTIMATE_PREDEFINED_HEADER_DESC"  
default="" />  

What would be the best course of action now? Should I proceed or wait for the next Joomla update?

avatar heytoufiq heytoufiq - open - 19 Feb 2025
avatar joomla-cms-bot joomla-cms-bot - change - 19 Feb 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Feb 2025
avatar mojeweb
mojeweb - comment - 19 Feb 2025

Maybe this one can help #37174

avatar joomdonation
joomdonation - comment - 19 Feb 2025

What would be the best course of action now? Should I proceed or wait for the next Joomla update?

If you look at the PR #37174, it is a bug fix, so you should process with the change.

avatar heytoufiq
heytoufiq - comment - 19 Feb 2025

Maybe this one can help #37174

What is the motive to set default="1" instead of default="0" ?

0 means disable and 1 means enable. Even empty string is also worked.

So, I think this is a Joomla bug.

avatar joomdonation
joomdonation - comment - 19 Feb 2025

So before the PR, we could not use "0" as value of the checkbox. If someone wants that when the checkbox is checked, the value "0" is submitted to server (for whatever reason), it is not possible and the PR fixed that bug

In your case, instead of default="0", you need to change default="" and it should work as you want.

avatar rdeutz rdeutz - change - 19 Feb 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-02-19 18:57:23
Closed_By rdeutz
avatar rdeutz rdeutz - close - 19 Feb 2025
avatar rdeutz
rdeutz - comment - 19 Feb 2025

As @joomdonation said, this behauviour is a result of a bug fix. You should change your xml.

Add a Comment

Login with GitHub to post a comment