Hi,
here's what I want to do. Let's say I have a module that uses a view to display a list of items. The modules ships with some CSS to style this view.
The problem is: If a theme overrides views.module's template views-view.tpl.php, the CSS may possibly not match the generated HTML.
My Solution would be: The module ships with its own views-view--viewname.tpl.php template.
I am struggling with getting this to work for a while now and would appreciate any help!
Best regards,
Lars
Comments
Comment #1
devin carlson commentedTake a look at the support request titled Override block template from module which offers some information on how to do this.
The page also links to two tutorials: