I followed the theme settings page tutorial all the way up to this section. After I finished creating the settings page, and refreshed my page, I now have two settings pages for my theme. One has all of the info on it, and the other one is blank.
Compounding the mystery is that when I changed the logo code from:
// Logo file setting
$name = 'theme_albion/logo';
$title = get_string('logo','theme_albion');
$description = get_string('logodesc', 'theme_albion');
$setting = new admin_setting_configtext($name, $title, $description, '', PARAM_URL);
$temp->add($setting);
to this:
// Logo file setting
$name = 'theme_albion/logo';
$title = get_string('logo','theme_albion');
$description = get_string('logodesc', 'theme_albion');
$setting = new admin_setting_configstoredfile($name, $title, $description, 'logo');
$setting->set_updatedcallback('theme_reset_all_caches');
$settings->add($setting);
The stored file box ends up on the second theme page that was previously empty! Has anyone seen this type of behavior before when creating a settings page?