I want to create a Drupal display site, where I can create many custom themes and display on a different page of each site I can do The entry can either be done through the link or menu item "easy" solution is better.
Create a custom block that executes PHP code. The following code snippet should display the current page in the theme set in $ custom_theme
.
global $ custom_theme, $ theme; // If $ theme is set, init_theme () will not start a custom theme. Not set ($ theme); // Set the theme you want to use. $ Custom_theme = "garland"; Init_theme ();
There is also a module, to change the theme used on the basis of some rules (for example, content type being shown, page being viewed, etc.) Allows: Project Page.
Comments
Post a Comment