This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function d_geo_theme($existing) { | |
| return array( | |
| 'views_views_json_style_simple__layer_explorer_library__page_2' => array ( | |
| 'arguments' => array('view' => NULL, 'options' => NULL, 'rows' => NULL, 'title' => NULL), | |
| 'template' => 'views-views-json-style-simple--layer-explorer-library--page-2', | |
| 'original hook' => 'views_views_json_style', | |
| 'path' => drupal_get_path('module', 'drupal_geoext') . '/theme', | |
| 'preprocess functions' => array( | |
| 'template_preprocess', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Implementation of HOOK_theme(). | |
| */ | |
| function ildn_base_theme(&$existing, $type, $theme, $path) { | |
| $hooks = zen_theme($existing, $type, $theme, $path); | |
| /* Override theme path for block templates */ | |
| $existing['block']['theme paths'][] = drupal_get_path('theme', 'ildn_base').'/templates/block'; | |
| return $hooks; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function ildn_base_preprocess_block(&$vars, $hook) { | |
| foreach ($vars['template_files'] as $template_file) { | |
| $vars['template_files'][] = 'block/'.$template_file; | |
| } | |
| } |
NewerOlder