Hello,
I am using Moodel 3.3.2, The theme I am using is labland. I have created a child theme based on labland.
Now the problem I am facing is In the settings.php of labland there is this line
$setting = new admin_setting_configstoredfile($name, $title, $description, 'homeblock1image');
The complete code black is:
$name = 'theme_demochild/homeblock1image';
$title = get_string('homeblockimage', 'theme_demochild');
$description = get_string('homeblockimagedesc', 'theme_demochild');
$setting = new admin_setting_configstoredfile($name, $title, $description, 'homeblock1image');
$setting->set_updatedcallback('theme_reset_all_caches');
$temp->add($setting);
In demochild theme I have copied this settings page from labland. I want to initialise this with some default image say demo.png.
How can a achieve this.
Thanks.