【发布时间】:2011-11-11 09:51:45
【问题描述】:
我在我的模块中使用custome模块,代码如下。
function mymodule_init() {
global $custom_theme;
$custom_theme = 'bluemarine';
init_theme();
}
这适用于除块页面(管理员/构建/块)之外的所有其他页面。阻止页面仅采用默认主题。我想要从 mymodule 分配给块页面的客户主题。我该怎么做?
【问题讨论】:
标签: php drupal drupal-6 drupal-modules