Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show Drupal admin theme for authenticated users on chat pages #43

Open
benjamin-dk opened this issue Jun 11, 2015 · 0 comments
Open
Assignees

Comments

@benjamin-dk
Copy link
Collaborator

Currently we need to change the admin theme to be the same as the standard theme in order to give the counselors the pleasure of using the properly styled CuraChat theme.

The fix might be as simple as adding code like the following to the Opeka module:

/**
 * Implements hook_custom_theme
 */
function MYMODULE_custom_theme() {
  // Set path specific theme.
  if (current_path() == 'admin/settings/history') {
    return variable_get('custom_theme', 'theme_name');
  }
}

http://drupal.stackexchange.com/questions/97364/how-to-change-the-theme-for-a-particular-admin-page-in-drupal

@benjamin-dk benjamin-dk added this to the v2 milestone Jun 11, 2015
@benjamin-dk benjamin-dk self-assigned this Jun 11, 2015
@benjamin-dk benjamin-dk changed the title Don't show Drupal admin theme for authenticated users Don't show Drupal admin theme for authenticated users on chat pages Jun 11, 2015
@cfdp cfdp removed this from the v2 milestone Feb 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants