...
Info |
---|
To display the articles, create a template referencing the article system |
Sample Code
Attach the data source Articles,Article.GetArticlesNotExpiredForCurrentUser(null,-1,2,"") with the sample code below
Code Block |
---|
@foreach (Article article in Model.Articles) { <div class="news-item"> <h4>@Raw(article.Description)</h4> <p>@Raw(article.ArticleText)</p> </div> } |
Related articles
Content by Label | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|