Language_List and default language as selected option on Drupal 6x
Just add global $language to function locale_form_alter and change line 278 on locale module:
change:
'#default_value' => (isset($form['#node']->language) ? $form['#node']->language : ''),
with:
'#default_value' => (!empty($form['#node']->language) ? $form['#node']->language : $language->language),
Similar entries
- Drupal disable 'language neutral' option
- CCK Text Field in Node-Teaser?
- Drupal fieldset default expanded not collapsed
- How to hide / encrypt CCK Email field with JS against spammer
- Bing vs. Google: a small comparison
- flexible free php contact form
- Change background color onmouseover with Javascript
- Ajax Error when using Drupal with Firefox
- Fatal error: Call to undefined function taxonomy_field_insert() in i18n_taxonomy.module on line 362
- Drupal warning: array_filter()
- Delete all spam node entries of a spesific user on a Drupal site with PHP
- Sleep Function for JavaScript like PHP
- Iran Elections in PHP / Computer Language
- Drupal 6 vs. Joomla 1.5 (2009)
- A small login to add to top of online testing scripts
- Check password safety with JavaScript while typing
- Hide your email address + mailto link with javascript from spammer
- Upload multiple images with PHP

Post new comment