Open kenorb opened 10 years ago
Currently our ads_search_views_api() gets overridden on Feature Update (drush -y fu ads_search), so we need to move 'template path' to different hook.
ads_search_views_api()
drush -y fu ads_search
See: https://www.drupal.org/node/1493908#comment-7557211
File: ads_search/ads_search.features.inc
- return array( - "api" => "3.0", - 'template path' => drupal_get_path('module', 'ads_search') . '/theme', - ); + return array("api" => "3.0");
But change should be done in: ads_search.module
Not sure how to test it yet, the easiest way would be by probably clearing cache in Performance and see if the function is called properly (by some exit; in it).
exit;
Currently our
ads_search_views_api()
gets overridden on Feature Update (drush -y fu ads_search
), so we need to move 'template path' to different hook.See: https://www.drupal.org/node/1493908#comment-7557211
File: ads_search/ads_search.features.inc
But change should be done in: ads_search.module
Not sure how to test it yet, the easiest way would be by probably clearing cache in Performance and see if the function is called properly (by some
exit;
in it).