Hey guys,
Basically, I want to create a tab and some sub tabs on the admin/user/user page based on some user roles the admin has selected in the modules settings.
The old D5 way was pretty straight forward, you would make a foreach loop in your hook_menu, that just makes the subtabs menu for each user role the admin selected.
In D6, it seems that that is looked down upon and I should be using the method of putting '%some_argument_name' in the path and having a some_argument_name_load() function that returns all the user roles I want tabs for.
This isn't working and in all the examples from core and the documentation I find are just making MENU_CALLBACKS...
I seem to be in a paradox where I want to use hook_menu to make the tabs for the module, but the D6 way of doing this requires that the tabs already exist. (I can make MENU_CALLBACKS but not the MENU_LOCAL_TASKS, to kick them off)
I have looked at this trhead as refference but the answer felt vague:
http://drupal.org/node/283198