In order to use the backround parameter I understand I have to copy and paste this code
<div class="jamasshead" <?php if(isset($masshead[‘params’][‘background’])): ?> style="background-image: url(<?php echo $masshead[‘params’][‘background’] ?>)" <?php endif; ?>>
to the masshead module file default.php which (if I have identified it correctly) has important content like this
defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );
require_once (dirname(FILE).’/helper.php’);
$helper = ModJAMassheadHelper::getInstance();
// Get masshead information
$masshead = $helper->getMasshead($params);
// Display
require JModuleHelper::getLayoutPath($module->module, $params->get(‘layout’, ‘default’));
I don’t understand whereabouts to insert the extra code, have tried a few places and website crashes. Please what I am doing wrong. Sorry can’t post link, am developing site locally.