Skip to content

Instantly share code, notes, and snippets.

@elliotttf
Created May 25, 2011 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elliotttf/991197 to your computer and use it in GitHub Desktop.
Save elliotttf/991197 to your computer and use it in GitHub Desktop.
<?php
/**
* Implementation of hook_theme_registry_alter().
*/
function ec_rss_theme_registry_alter(&$theme_registry) {
$theme_registry['views_view_field__ec_rss__feed_2__title']['path'] = drupal_get_path('module', 'views') . '/theme';
$theme_registry['views_view_field__ec_rss__feed_2__title']['template'] = 'views-view-field';
$theme_registry['views_view_field__ec_rss__feed_2__title']['preprocess functions'][] = 'template_preprocess_views_view_field';
$theme_registry['views_view_field__ec_rss__feed_2__title']['preprocess functions'][] = 'ec_rss_preprocess_views_view_field__ec_rss__feed_2__title';
$theme_registry['views_view_field__ec_rss__feed_2__title']['arguments'] = array('view' => NULL, 'field' => NULL, 'row' => NULL);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment