How to display all content nodes of a document type
Hi all,
I have a "News" document type that has a lot of news articles. I was looking to create a "News listings" document type and template but I'm not too sure how I would go about pulling in all the news articles to be displayed in a list in this new template?
I would just like to display the name including a hyperlink to the news article.
How to display all content nodes of a document type
Hi all,
I have a "News" document type that has a lot of news articles. I was looking to create a "News listings" document type and template but I'm not too sure how I would go about pulling in all the news articles to be displayed in a list in this new template?
I would just like to display the name including a hyperlink to the news article.
Any help would be really appreciated.
Thanks,
David
Hi David,
this video could help:
https://youtu.be/iTwOiP14n6o
Pauls videos a very helpful for these basic things. I highly recommand to take the time to watch the whole playlist.
Best, Peter
Hi Peter, thanks for replying. I'm using Umbraco 7 and get and error when trying to use Model.Root() in Paul's example. I'm a bit stuck to be honest!
Paul has a similar playlist for Umbraco 7:
https://youtu.be/pZFYbBrwDfc
is working on a reply...