Hi,
I'm trying to create sort of a blog feature where you can continue reading articles after the main article. This works fine but is there a smart way to remove the current page from the articlelist below the main page? Right now I'm getting all the articles from a specific node without filtering out the current page.
Hide current page from list
Hi, I'm trying to create sort of a blog feature where you can continue reading articles after the main article. This works fine but is there a smart way to remove the current page from the articlelist below the main page? Right now I'm getting all the articles from a specific node without filtering out the current page.
Any help appreciated
/ Niklas
Hi Niklas,
I think it's not hard to solve. Can you provide some code, how you are trying to do it ?
/ Alex
Hi Alex, it's a simple macro under the main body of the current page.
{
Niklas, I don't recommend you to use dynamic objects for traversing. It has some disadvantages, can we rewrite it to use strongly typed?
Alex
Hi Alex, as long as I can use it in a macro it should be fine :)
/ Niklas
The dummy way is to check in the foreach is this currentPage or not )
Hi Niklas Hjelm,
Did you solve the problem ?
Thanks
is working on a reply...