Hi
This is a regular challange, that we basically have ignored - but we have a situation where we need to do it "right"
We have a regular website, containing Item based News.
On a news page (based on a newsitem), we show a list of 5 other newsitems (a list of 5 of the newest items). This is being included on the newsitem template via RenderParagraphContent(), where we include a paragraph with an ItemPublisher.
But the problem is, that if we are on one of the top 5 newest newsitems, the newsitem reoccurs in the list showing the 5 newsitems.
In other words, we want to exclude the current item from the list of newest items.
Now I know that we can solve this using indexing and a query excluding the current item etc. but that seems really cumbersome to have to do, just in order to get a list of items not containing the current item.
Is there no other and simpler way of doing this?
/Hans