Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fluidproject_ui_options_page_build(&$page) {
- if (!path_is_admin(current_path())) {
- libraries_load('fluid');
- drupal_add_js(drupal_get_path('module', 'fluidproject_ui_options') . '/js/load.js', array('group' => JS_THEME));
- drupal_add_css(drupal_get_path('module', 'fluidproject_ui_options') . '/css/Enactors.css');
- drupal_add_css(drupal_get_path('module', 'fluidproject_ui_options') . '/css/fluid.css', array('group' => CSS_THEME));
- $page['page_top']['fluid'] = array(
- '#weight' => -1000,
- '#markup' => theme('fluidproject'),
- );
- }
- }
- /**
- * Implements hook_theme() to implement the Fluid UI div.
- */
- function fluidproject_ui_theme($existing, $type, $theme, $path){
- dpm($path);
- return array(
- 'fluidproject'=>array(
- 'template'=>$path . 'fluidproject_ui_header',
- 'type'=>'theme',
- ),
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement