Hi,

If you need to make your flashnodes settings syncronize with new translations, just add the following lines to the bottom of the flashnode.module.

function flashnode_i18nsync_fields_alter(&$fields, $type) {
  if ($type == 'flashnode') {
    $fields['flashnode'] = array(
      '#title' => t('Flashnode'),
      '#options' => array('flashnode' => t('Flashnode Settings')),
      );
  }
}

Enjoy :)

Comments

Alpinist1974’s picture

rmontero, thank you, thank you, thank you!

I have been trying for several days to make Flashnode copy attached files to translation pages with no luck. Your code really helped me out of a bind.

Just to make it clear for those with similar issues, this code saves all flashnode data (flashvars, basic settings and the original uploaded file) over to the translation page.

Thanks again!

webchick’s picture

Issue summary: View changes
Issue tags: -Drupal Latin America +LatinAmerica2015

Tag fixing brigade!

webchick’s picture

Issue tags: -LatinAmerica2015

Oops. My mistake. Last updated in 2011. Presumably not one of the DrupalCon Latin America sprint items then. :)