Code: Select all
<config>
<fields name="params">
<fieldset name="advanced">
<field name="include_jquery" type="radio"
default="1" label="Include jQuery"
description="Inject jQuery library reference into head section">
<option value="1">Yes</option>
<option value="0">No</option>
<?php if($this->params->get('include_jquery')): ?>
<script type="text/javascript"
src="<?php echo $template_path;?>/js/jquery-3.2.1.min.js"></script>
<?php endif;?>
</field>
<field name="background_color" type="text" default="white"
label="Background color"
description="Set the background color of the body tag"
filter="string" />
</fieldset>
</fields>
</config>
PHP tag colored in red. Why ? Please see the picture