I have a view news how do you a suggest a particular theme file for it? For example page--news.tpl.php?


In case of Views 2, One of the option would be to name your template file "views-view--news.tpl.php".

There are other useful options like "views-view--news--page.tpl.php" or "views-view--news--block.tpl.php" depending on your display type.

You may find This tutorial useful .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.