Forget about slider. I am developing a template using T4 and I just want to add an optional custom parameter to T4 blank settings. Think about back to top button option in settings. I just want to create an optional boolean parameter like it. For example I can add extra color options by creating a copy of typelist-theme.xml file in params/typelist-theme.xml and adding my paramater into it. I did same thing for my optional custom boolean parameter by adding it in params/typelist-site.xml like bact top button but I do not know how to use it in template. For example in T3 framework we were adding our parameter into templatedetails.xml as shown below
<config>
<fields name="params" addfieldpath="/plugins/system/t3/includes/depend">
<!-- Sample for add or disable template parameters -->
<!--fieldset name="menu_params" label="T3_PARAMS_MEGAMENU">
<field name="group_disable" type="t3depend" function="@group">
<option for="menu_as_bg" value="no">menu_as_bg</option>
</field>
<field name="googlefontsbody" type="list" label="T3_PARAMS_GOOGLEFONTSFORBODY_LABEL" default ="Roboto" desc="T3_PARAMS_GOOGLEFONTSFORBODY_LABEL_DESC" function="@group">
<option value="Play">Play Regular</option>
<option value="Poppins">Poppins Regular</option></field>
</fieldset-->
</fields>
</config>
and we were using it by calling like this
$googlefontsbody = $this->params->get('googlefontsbody');
It seems that we can not use our optional parameres by calling $this command fot T4 . I want to learn if it is possible for T4 to add my own boolean option and call it. If yes how? Thanks in advance.