how to display the blog post as in table.

linus 392 asked on June 19, 2018 07:26

how to display the blog post using categories and displaying them in table.

Recent Answers


Peter Mogilnitski answered on June 19, 2018 18:57 (last edited on June 19, 2018 19:07)

What you looking for is faceted search. If you have sample site installed (if not - install them, there are tons of examples) you can check out corporate site example. if you go to /Examples/Web-parts/Full-text-search/Smart-search/Faceted-search There is a category filter web part that render categories. The problem with this approach is that you get categories via SQL query (You can not get them from the index). Here is the article, but I prefer not to use filters

0 votesVote for this answer Mark as a Correct answer

linus 392 answered on June 20, 2018 03:08

Hi Peter,

I mean blog post to display like this way. https://www.nla.gov.au/blogs

0 votesVote for this answer Mark as a Correct answer

Rui Wang answered on June 20, 2018 14:26

That's just a transformation for the repeater you use to list all the blogs.

Something like this for bootstrap responsive design:

<div class="col-md-3">
    <img src="thumb.png" />
    <a href="{% GetDocumentURL %}">{% DocumentName %}</a>
    code for the author 
</div>
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.