Location for views.tpl.php

glennnz - October 19, 2009 - 23:56
Project:Genesis
Version:6.x-2.4
Component:Genesis SUBTHEME
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi

I am customising the theme of a particular View. The View theme information tells me that the file I need to edit should be called views-view-unformatted--contact-details--page.tpl.php.

Easy, done that, but where should I put this file? I've tried several places within my subtheme directory but can't get it to be implemented.

Thanks

Glenn

#1

Jeff Burnz - October 20, 2009 - 06:26

It doesnt matter where it is in the theme folder, as long as its there, try going back to the View and clicking "Re scan templates", it should show up there, and try clicking "Clear cache data" on the performance page. I normally keep all my views tpl files in a subfolder like this:

templates/views/

 
 

Drupal is a registered trademark of Dries Buytaert.