Reputation: 2770
This is all fairly new to me so I hope i've worded the question correctly.
So I have created a view which outputs a list of news posts, which you can then click on a news post and view the contents of that post. However I've modified the styling of the listings page using the different fields etc. Now I would like to modify the content of the selected news post.
I've created a new template in my templates directory called 'views-views.tpl.php'
but that seems to override the content for the listing view landing page as well as the content.
Do I need to use a different template?
If someone could point me in the right direction it would be mostly appreciated.
Thanks.
Upvotes: 0
Views: 34
Reputation: 1167
If you don't mind, I'm gonna give the answer here for more visibility.
When you click on View list item, you actually access the node page. You are not in a View anymore and you should override the node.tpl.php
that suits you.
For overriding a content-type "news" node, you can use node--news.tpl.php
.
Upvotes: 1