Quote:
Originally Posted by kh99
It looks like construct_nav_group() creates a group out of the options that have been added up to that point, so I think you want to move that to after the other construct calls.
There doesn't seem to be a simple way to remove the "Prune" option from a plugin. You could edit modcp/index.php and take out the code that adds it. Also, since the controls are kept in $_NAV before being printed out by print_nav_panel(), you might be able to do it from a plugin at hook mod_index_navigation by doing a str replace on $_NAV.
ETA: ..oh, it looks like you could also remove the "canmassprune" permission. (I'm assuming you meant the modcp even though you said ACP, but maybe you did mean ACP?)
|
No, I meant ACP. I want there to be no pruning ever.
Umm. I moved the construct_nav_group() and it did not help. Any other ideas?