By default, the /user, /user/1, /user/1/edit etc all use the site's default theme. I have a separate Administration theme. I want the /user paths to all use the Administration theme. In the module I clicked on Custom Pages and tried all sorts of variations but can't get it to work - always show the default theme.

ex.
user
/user
/user/*
/user/*/*

Thanks

Comments

codesmith’s picture

Also, when logged out the /admin screen now shows the default theme, not the Administration theme.

davyvdb’s picture

Status: Active » Fixed

About your first issue:

user* is the solution

About your second issue: This is noted on the project page. You can find an explanation in this issue.

http://drupal.org/node/372156

codesmith’s picture

That works for the user pages thanks. You may want to update the instructions that show up on the module settings page. It says you can use "blog" and "blog/*" which didn't seem to work for user pages.

For the second issue - I looked at that link and it's the opposite of my problem. Before the module, the logged-off /admin page showed the Administration theme. After installing the module the logged-off /admin page showed the default theme. I checked the system table and the weight for both was set to 0. I changed the weight of the admin theme to -1 and now the logged-off /admin page shows the Administrator theme now as it did prior to installing the module. I would think that installing the module shouldn't change the default way that things work.

Thanks for the quick response and effort.

davyvdb’s picture

It goes something like this:

user* = user + any other serie of characters (even slashes)
user/* = user + / + any other serie of characters

About the second issue... Did you set the user permission "access admin theme"?

codesmith’s picture

No I didn't. Just did and that did the trick. I set the admin theme module back to the original weight setting of 0 and it's working great.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

chandra sekhar’s picture

Where i have to set "user*"

davyvdb’s picture

Category: bug » support

You have to use user*