function tripal_cv_init
2.x tripal_cv.module | tripal_cv_init() |
3.x tripal_cv.module | tripal_cv_init() |
1.x tripal_cv.module | tripal_cv_init() |
Implements hook_init(). Adds CSS and JS needed for this modules rendered content
Related topics
File
- tripal_cv/
tripal_cv.module, line 20
Code
function tripal_cv_init() {
// add the tripal_cv JS and CSS
drupal_add_css(drupal_get_path('theme', 'tripal') . '/css/tripal_cv.css');
drupal_add_js(drupal_get_path('theme', 'tripal') . '/js/tripal_cv.js');
// add the jgCharts.js
drupal_add_js(drupal_get_path('theme', 'tripal') . '/js/jgcharts/jgcharts.js');
// add the jsTree JS and CSS
drupal_add_css(drupal_get_path('theme', 'tripal') . '/js/jsTree/source/tree_component.css');
drupal_add_js(drupal_get_path('theme', 'tripal') . '/js/jsTree/source/_lib.js');
drupal_add_js(drupal_get_path('theme', 'tripal') . '/js/jsTree/source/tree_component.js');
}