hi there
i am new to umbraco and am trying to retrieve the urls for the next and previous pages to a given page.
i am attempting to do this in the template, my current code is
it doesn't like Model.Next
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage
@using SiteModel.Helpers
@{
Layout = "_Layout_Master.cshtml";
string fileUrl = Model.Content.GetImageUrl();
var rd = Model.Content.GetPropertyValue<DateTime>("releaseDate").ToString("dd/MM/yyyy");
var m = Model.Content.Name;
var url = Model.Content.Url();
Model.Next();
}
cheers
Nic
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/45433-get-previous-and-next-url