0
如何在我的Drupal安装配置文件中更改使用的颜色配置文件?我已经安装了colors
模块,我可以在Appearance - Settings - *theme*
下配置我的颜色模式,从而产生具有所有颜色值的$info
阵列。但是我怎样才能将它放置在我的安装配置文件中,以便默认安装它?在Drupal安装配置文件中更改颜色模式
我在我的安装配置文件中添加了一个任务,并将其链接到此功能。但显然,有一些缺失...
$tasks['_create_color']['display_name'] = 'Set the typical color on each platform';
$tasks['_create_color']['display'] = 0;
function _create_color() {
$info = array(
'schemes' => array(
'default' => array(
'title' => t('Blue Lagoon (default)'),
'colors' => array(
'top' => '#97279b',
'bottom' => '#97279b',
'footer' => '#97279b',
'link' => '#97279b',
)
)));
}
任何人的建议吗?