0

I want to start using the search function in my admin area. I googled quite a lot, but i couldn't find away to display the search results in the admin theme. Anyone any idea's how to accomplish this?

0

At the code level you can use hook_admin_paths(), e.g.

function MYMODULE_admin_paths() {
  return array(
    'search/*',
  );
}

Or if you'd rather use a non-code solution, you could install a module like ThemeKey

ThemeKey allows you to define simple or sophisticated theme-switching rules which allow automatic selection of a theme depending on current path, taxonomy terms, language, node-type, and many, many other properties.

  • I can't accept you're answer as accepted, but themekey seemed to be the right anser for me. Thanx! – Arjan Poortman Aug 4 '13 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.