Active
Project:
Flash Node
Version:
6.x-3.1
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2010 at 04:44 UTC
Updated:
11 Feb 2015 at 21:58 UTC
Jump to comment: Most recent
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
Comment #1
Alpinist1974 commentedrmontero, 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!
Comment #2
webchickTag fixing brigade!
Comment #3
webchickOops. My mistake. Last updated in 2011. Presumably not one of the DrupalCon Latin America sprint items then. :)