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

ParisLiakos’s picture

Could you share a screenshot on what this accomplishes?

ParisLiakos’s picture

Component: Code » Documentation
Status: Active » Closed (won't fix)

ah, i got it now..
but..some people dislike overlay..but thanks for sharing

reg’s picture

but..some people dislike overlay..but thanks for sharing

Huh?

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.

ParisLiakos’s picture

Ok, sorry my comment on #2 came out wrong..

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.

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

ParisLiakos’s picture

Issue summary: View changes

Cleaned up a little