Drupal PHP extentions
These are the PHP extentions I use to have on my servers.
php_curl
php_gd2
php_imap
php_mbstring
php_mycrypt
php_mysql
php_pdo_mysql
php_tidy
php_zip
These are the PHP extentions I use to have on my servers.
php_curl
php_gd2
php_imap
php_mbstring
php_mycrypt
php_mysql
php_pdo_mysql
php_tidy
php_zip
This is how you can add colorpicker to a form textfield for instance in your theme settings file.
drupal_add_css('misc/farbtastic/farbtastic.css');
drupal_add_js('misc/farbtastic/farbtastic.js');
$form['color'] = array(
'#type' => 'textfield',
'#title' => t('Color pickmeup'),
'#default_value' => '#123456',
'#description' => '
',
);
$form['colorpicker_example'] = array(
'#type' => 'item',
'#description' => "
This is how you can add a vocabulary (taxonomy) to variable via administration settings pages.
This is my settings in settings.php to my oderland.se account:
$db_url = 'mysqli://account_dbuser:password@localhost/account_dbname';
$db_prefix = '';
To run cron on Drupal multisite I use the built in user interface for Unix:
This is my settings in settings.php to my surftown.se account:
$db_url = 'mysql://user_account:XXXXXXXX@mydbXX.surftown.se/user_database';
$db_prefix = '';
WARNING! Surftown are using safe_mod=on. If you want to use file upload you have to manipulate file.inc in core. See this hack Have not tested it myself yet.