Hi folks, I have a folder within my content section of Umbraco that has approximately 10 pages.
I would like to add a Next and Previous buttons on each page i.e. to allow the user to navigate from page to page.
I’m new to Umbraco any advice or pointers much appreciated.
would something like this work
@{@Model.DescendantsOrSelf())
if (@Model.Next() != null)
{
<a href="@Model.Next().Url">Next</a>
}
if (@Model.Previous() != null)
{
<a href="@Model.Previous().Url">Previous</a>
}
}
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/87263-links-to-next-previous-buttons