Problem Description
I have a setting page in my custom theme with a logo setting :
$name = 'theme_xxx/logo';
$title = get_string('logo', 'theme_xxx');
$description = get_string('logodesc', 'theme_xxx');
$setting = new admin_setting_configstoredfile($name, $title,
$description, 'logo');
$setting->set_updatedcallback('theme_reset_all_caches');
$settings->add($setting);
when I try to print out the logo
<?php echo $PAGE->theme->settings->logo;?>
all I get is the name of the file but not the path. (/logo.png ) I have no Idea where the search is saved and what to do next.
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?