Filtering assoc array returned from variable_get()
Posted by rgchi on August 16, 2012 at 4:01pm
Given this checkboxes form field for a drupal module
$form['soc_eport_expireByFiletype'] = array(
'#type' => 'checkboxes',
'#title' => t('Select file extention'),
'#default_value' => variable_get('soc_eport', array('gif'=>'Gif')),
'#options' => array(
'gif' => t('GIF'),
'jpeg' => t('JPEG'),
'jpg'=> t('JPG'),
'png' => t('PNG'),
),
);
It produces this array:
Array
( [gif] => gif
[jpeg] => jpeg
[jpg] => 0
[png] => 0
)
Acquia Marina/Fusion Core with domain themes - a problem !?!
Posted by shushu on May 14, 2010 at 2:47pm
Hello,
I am using domain access and domain theme to create subdomains and to theme them specifically.
Till I started working with Skinr/Fusion/Acquia Marina everything worked fine with setting theme configuration per theme.
Since Acquia Marina and Fusion is such a nice looking theme I decided to move to it, and setup the main domain.com to it, changing all I wanted.
Then I created another subtheme of Fusion (I copied Acquia Marina, and properly changed all of the names) and selected it for my subdomain.domain.com.
Read more
