Problem/Motivation

If the view name has an underscore (i.e. "view_name"), the Theming information in the UI changed the underscore to a hyphen and then proceeded to report that the Display Output default file (views-view--view-name.tpl.php) did not exist. The theming then proceeded to use views-view--view_name.tpl.php during theme processing.

Proposed resolution

Patch attached. If the view name has an underscore, don't lose it in views_plugin_display::format_themes().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MustangGB’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)