Theme 2.0: Adding a settings page to your theme

Re: Theme 2.0: Adding a settings page to your theme

by Shabana Akhtar -
Number of replies: 0

Hi,

Thanks alot for your tutorial it has made me create a moodle 2 theme with a settings page. The only part I have befcoem quite stuck on is at once the theme and settigns is all complete. In the dropdown list under admin settings (see attached file) There are two links appearing Demystified theme (all the settings options displayed) and Demystified (which has an empty settign page). I have looked at the demystified/lang/en/theme_demystified.php file and there are two string which correspond to these

$string['pluginname'] = 'Demystified';

$string['configtitle'] = 'Demystified theme';

I am not sure if these are the cause or not.

I have used the Demystified theme example in another custom moodle theme and have the same result where the admin theme settings displays this in the same way.

It would be a great help if someone is able to advise on this.

 

Many thanks in advance

Shabana

Attachment admin_settings.jpg