Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It would be great if an existing option could be overwritten, for exmaple:
$options['bt_text_field'] = array(
'cssSelect' => 'input.form-text',
'trigger' => array('focus', 'blur'),
'contentSelector' => "$(this).nextAll('.description:eq(0)').hide().html()",
'width' => '275px',
'positions' => array(0 => variable_get('beautytips_position', 'bottom')),
'preEval' => TRUE,
);
If i wanna change trigger blur to dblclick, i cant cos it is defined by beautytips module. There is no alter function for this and beautytips_add_beautytips looks if a key is set earlier(// Ensure the js settings are not added more than once). Thx
Comments
Comment #1
pifagor