Hello, I defined a template parameter inside the templateDetails.xml file as follows ...
Inside my index.php file I have the following code ...
However, even though I am defining the image I want to load, when I try to print the logo image path I get an empty string back. The same code works fine from the template I used as default (normal browser that is).
Am I doing something wrong?
<config>
<fields name="params">
<fieldset name="BASIC">
<field name="logo" type="media"
label="Logo" description="Please choose an image." />
</fieldset>
</fields>
</config>
Inside my index.php file I have the following code ...
<?php
$logo = $this->params->get('logo');
?>
logo=<?php echo htmlspecialchars($logo); ?>
However, even though I am defining the image I want to load, when I try to print the logo image path I get an empty string back. The same code works fine from the template I used as default (normal browser that is).
Am I doing something wrong?