When I try to look at the theme information in the views interface with the vews tree style selected I get an error for the style output:
views-tree.tpl.php (File not found, in folder sites/site_name/modules/contrib/views_tree/), views-tree--category-menus.tpl.php, views-tree--default.tpl.php, views-tree--default.tpl.php, views-tree--block.tpl.php, views-tree--category-menus--block.tpl.php
Comments
Comment #1
cobadger commentedSubscribing. I have the same error; need to customize the output template for my use case.
Comment #2
off commentedSame problem
Comment #3
JMM75 commentedSame issue here as well. Any word on a correction for this?
Comment #4
geerlingguy commentedTechnically, this module doesn't define any templates through hook_theme(), but maybe views requires one for the root-level views tree display? If someone wants to look into that, that would be very helpful. The module should still work normally, even with this warning.
Comment #5
DrCord commentedI get this error too. It would be good to at least know what file it is falling back on and using, this makes it difficult to theme the view...The module still works, but this is worth resolving, please.
Comment #6
acrosmanTook some time to poke around at this again today. To control the markup you'll need to override theme_views_tree() and/or theme_views_tree_inner() from views_tree.module. There is also a reference to a long ago closed bug in Views on D6 about a similar issue (addressed 7 years ago): http://drupal.org/node/355919
So the file isn't missing, it doesn't make sense to use one. If there is a bug here it's more that the views interface doesn't make it clear when a style plug-in is using a function instead of a template.