Closed (fixed)
Project:
Drupal core
Version:
6.14
Component:
theme system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2009 at 02:17 UTC
Updated:
15 Sep 2011 at 03:38 UTC
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: