Hello guys,
I'm very glad to see you here.
The problem I came across is: I need to develop a CMS for the admin. The admin has several sites to handle, each site having its own theme. The admin requires a simplified theme when he manages these sites. So I creat a light one and put it into the sites/all/theme/ folder.
But now, the admin says when he 'preview' the node in the 'edit' page, the node and its original theme should be present. In other words, the 'preview' window should take an another theme that different from the current one the admin uses.
There're several site folders in the folder sites/ and each one has its own theme.
The point is when you preview the node, you should designate an another theme to it.
How should I do?
Comments
The standard way to
The standard way to accomplish this, if I understand your admin's needs correctly*, is to navigate to the Administration Theme menu
(Drupal instance)/admin/settings/admin
and in the drop-down menu labeled "Administration Theme" select the simplified theme. Make sure the box labeled " Use administration theme for content editing" is NOT checked, and when the admin accesses any of the /node/add/* pages the individual site's theme will show instead of the admin theme.
Do this on each instance and you'll be set.
-wolfraem