I found this working on my own module that goes under the user section in some parts. I wanted it to use the overlay so I started looking around and found this:
/**
* Implements hook_admin_paths().
*/
function yourmodule_admin_paths() {
$paths = array(
'user/*/yourmodule/paths' => TRUE,
);
return $paths;
}
In case you would like to make your local tasks under the user area work with the admin overlay like I did.
Comments
Comment #1
ParisLiakos commentedCould you share a screenshot on what this accomplishes?
Comment #2
ParisLiakos commentedah, i got it now..
but..some people dislike overlay..but thanks for sharing
Comment #3
reg commentedHuh?
You are telling the system that an admin page you created, that it doesn't know about already from being under /admin/..., is an admin page.
Whether a use likes overlays or not is a separate issue, one they control by choosing to turn them on or off under their own personal settings.
Comment #4
ParisLiakos commentedOk, sorry my comment on #2 came out wrong..
you are right
you are probably talking about user/*/newsletter path..i do not think it is an admin page...it is user settings, something like orders lets say in a eshop
Comment #4.0
ParisLiakos commentedCleaned up a little