Currently in D7, with the default settings, the advanced help index ( at 'admin/advanced_help') is viewed in the administrative overlay, but when the user selects a topic it is viewed in the default theme (for example 'help/advanced_help/using-advanced-help'). For a more consistent UI what is the best way to route all topic views to the overview?

Comments

cluther’s picture

Sometimes just verbalizing the question makes you think differently. So to answer my own question:

In the "mycustom_help.module" file:


/*
 * set all help topics to the admin path for viewing in administrative overlay
 */
function coa_help_admin_paths() {
  $paths = array(
    'help/*' => TRUE,
  );
  return $paths;
}

gisle’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Issue summary: View changes
Status: Active » Closed (won't fix)

There is different use cases here.

If you're using Advanced help as an admin, you probably want help to regarded as an admin path. If you're accessing Advanced help as a user you don't want that.

As you've noted, you can override the default behavior with a small custom module, and I think that is the best solution.