Admin Subtheme for node editing
mbiddlecombe - February 17, 2009 - 11:24
| Project: | Virtual Sites |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I have set up virtual sites which use pathauto to determine the condition which activates the site. So the condition is 'only on the listed pages x*, y*'.
This means that the virtual site theme is not used for editing because the path is not aliased - it is just node%/add or node/%/edit. Can someone help me with some php code to set a condition that means that the node/%/add and node/%/edit paths also activate the virtual site and therefore the correct theme? I'm guessing that it must need to somehow match drupal_get_path_alias(nid) to the x* and y* but I'm not sure how to do that.

#1
Take a look at my prior issue post (and bugfix). I think this will address your issue as well.
http://drupal.org/node/375434