General developer forum

Add extra setting pages

 
Picture of Hossein Poursaeedi
Add extra setting pages
 

Guys ,
in each plugin we can add setting which automatically generate section and add setting  inside plugin list .
what if i need to have nested setting? i mean i want a link to sub setting page with new section register ,, i fond bellow code , but seems section is not register .

$ADMIN->add("newsetting", new admin_externalpage('newsetting', "Foo Admin Component", new moodle_url('/blocks/abc/setting.php')));

note: i want to make new setting in an extra page like

$settings = new admin_settingpag() 

thanks

 
Average of ratings: -
Picture of Darko Miletić
Re: Add extra setting pages
 
Average of ratings: -
Picture of Hossein Poursaeedi
Re: Add extra setting pages
 

thanks for reply ,
 but these are not for nested setting pages.

iv meant , i redirect to new setting pages (nested setting)

 
Average of ratings: -
Tim at Lone Pine Koala Sanctuary
Re: Add extra setting pages
Core developersDocumentation writersParticularly helpful MoodlersPlugin developers

Is what happens near the start of mod/quiz/settings.php the kind of think you are trying to do?

 
Average of ratings: -