List
Available tags
News:NoNewsMessage
Returns the custom "no news" message if no news items are found.
RAZOR
@GetString("News:NoNewsMessage")
News:Paging.Back
Returns an URL to the previous page with news items.
RAZOR
@GetString("News:Paging.Back")
News:Paging.Forward
Returns an URL to the next page with news items.
RAZOR
@GetString("News:Paging.Forward")
News:Search.Button.Href
Returns the URL
(enclosed in javascript) for the chosen search interval.
RAZOR
@GetString("News:Search.Button.Href")
News:Search.Button.Picture
Returns an image button for the year/month dropdown.
RAZOR
@GetString("News:Search.Button.Picture")
News:Search.Button.Text
Returns the button text for the year/month dropdown.
RAZOR
@GetString("News:Search.Button.Text")
News:Search.Dropdown.Month
Returns the Month
dropdown.
RAZOR
@GetString("News:Search.Dropdown.Month")
Available loops
NewsList
The NewsList
loop lets you to display a list of news items.
RAZOR
@foreach (LoopItem item in GetLoop("NewsList")){ <p>@item.GetValue("TagName")</p> }