Using PHP to Rewrite Views 3 Output

1) Go into the view, expand “Advanced” clumn;

2) Click the “Theme: information” link; It reminds you how to name the rewrite file;
3) For example:
Display output: views-view.tpl.php (File not found, in folder sites/aoyeetravel.com/themes/ao_travel/templates/), views-view–supertour.tpl.php, views-view–default.tpl.php, views-view–default.tpl.php, views-view–page.tpl.php, views-view–supertour–page.tpl.php

Note: the view name is “supertour”.

4) The files are located in the “htdocs\drupal\sites\yourdomainname.com\themes\yourthemename\templates” fold.

Leave a Reply

Your email address will not be published. Required fields are marked *