Settings page for a local plugin

Re: Settings page for a local plugin

by Manolo Mohedano -
Number of replies: 0
Thanks again, Dominique...
Finally, this code works for me:

if (has_capability('local/slider:modify', context_system::instance())) {
$ADMIN->add('root',new admin_category('Slider', 'Slider'));
$settings = new admin_settingpage('local_slider','Slider','local/slider:modify',false);
$ADMIN->add('Slider',$settings);
.....

Seems it's not possible that this option appears in the menu of local extensions, but yes as a new branch... smile

Thanks again for your time and interest!
Best regards
Average of ratings: Useful (2)