Skip to main content
Tweeted twitter.com/#!/StackDrupal/status/554026461125152768
edited tags
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284
Source Link
Citricguy
  • 7.9k
  • 10
  • 58
  • 104

How to store Views templates with a module instead of a theme

I have created several views templates that are currently stored in my active themes directory. In would prefer these templates be stored within my module directory.

My question is, how can I bring these theme files (views-view-field.tpl.php for example.) into my modules directory and have them be seen by Views?

Looking at the Views modules, I can see that default templates are stored in views/theme, but I don't see how it has been implemented.