Hi, I am new to umbraco and have installed the business starter kit. There is a macro to display the latest blog article on the front page, however I have two blogs on my site and want to show the latest articles from both blogs on the front page.
I suppose the blog-entrys have the save document type? Then you could just grab all node of that type, order them by date and show them on the frontpage.
Show multiple blogs on front page
Hi, I am new to umbraco and have installed the business starter kit. There is a macro to display the latest blog article on the front page, however I have two blogs on my site and want to show the latest articles from both blogs on the front page.
Does anyone know of a good way to do this?
thanks in advance
Gerry
Hi
Good choice! Umbraco is awesome!
I suppose the blog-entrys have the save document type? Then you could just grab all node of that type, order them by date and show them on the frontpage.
I know that this can be done with uComponents/uQuery http://ucomponents.codeplex.com/wikipage?title=uQuery
or you could read this post: http://stackoverflow.com/questions/5019205/umbraco-4-6-how-to-get-all-nodes-by-doctype-in-c
is working on a reply...