Views requires you to have a theme include. Really views should never require you to include something for this.

Usually this just means that your .views.inc gets included but if you've got your template in a different directory you must have a file. This would be great for preprocess functions but #591804: Theme registry build bug: External file with template_preprocess is not loaded if tpl.php is copied into theme means that you can't rely on the file views adds to actually be included so there is sometimes little reason to even have a include at the moment.

Comments

izmeez’s picture

subscribe

neclimdul’s picture

Yay, core bug has been fixed. As I remember, views still is a little forceful here but it might not be worth dealing with in 2.x and just something to rework in 3.x if it hasn't already changed. Will have to look at it again.

esmerel’s picture

Status: Active » Closed (fixed)

I'm gonna close this; I imagine if this really needs a rework it's either a) already being/been done or b) neclimdul will have no problems being forceful about a change :D