You are here

function qtip_install in qTip (Stylish jQuery Tooltips) 7

Same name and namespace in other branches
  1. 6.2 qtip.install \qtip_install()
  2. 6 qtip.install \qtip_install()

Implements hook_install().

File

./qtip.install, line 11
Install, update and uninstall functions for the qtip module.

Code

function qtip_install() {

  // un-comment this once you've implemented the schema

  //drupal_install_schema('qtip');

  // Get the qTip settings, set by the administrator
  variable_set('qtip_target_position', 'top_right');
  variable_set('qtip_show_speech_bubble_tip_side', TRUE);
  variable_set('qtip_show_speech_bubble_tip_side', FALSE);
  variable_set('qtip_speech_bubble_tip_size', 12);
  variable_set('qtip_show_speech_bubble_tip_solid', FALSE);
  variable_set('qtip_show_shadow', FALSE);
  variable_set('qtip_rounded_corners', FALSE);
  variable_set('qtip_color', '');
  variable_set('qtip_custom_color', '');
  variable_set('qtip_show_event_type', 'mouseenter');
  variable_set('qtip_hide_event_type', 'mouseleave');
  variable_set('qtip_additional_elements', '');
  variable_set('qtip_lib_version', '2.0.0pre');
  variable_set('qtip_load_lib_on_every_page', TRUE);
}