Add articles (news, promotions, tips, reviews, etc) to your website.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
Hi,
I do not understand anything about this.
I tried the following variations but it did not.

@item.Breadcrumb.Items[0].Name
@item.Breadcrumb.Items.FistOrDefault.Name //Null reference error. All articles have least 1 Group?
@item.Breadcrumb.Name


And why BreadCrumb? I want the name of the Group where the article is member.

http://prntscr.com/eoai1j



foxnetsoft wrote:
Each subelement has Breadcrumb property of the class ArticleBreadCrumbModel.


    public partial class ArticleBreadCrumbModel
    {
        public ArticleBreadCrumbModel()
        {
            Items = new List<ArticleBreadCrumbModel.BreadCrumbItem>();
        }

        public bool Enabled { get; set; }
        public IList<ArticleBreadCrumbModel.BreadCrumbItem> Items { get; set; }

        #region Nested Classes

        public class BreadCrumbItem
        {
            public int Id { get; set; }
            public string Name { get; set; }
            public string SeName { get; set; }
        }

        #endregion
    }
7 years ago
I can't understand you.
This file _ArticlesBlock.cshtml has a Model (ArticleReadListModel).
This item of class had a property ArticleGroupName.

Try to use this code.
@Model.ArticleGroupName
7 years ago
I need ArticleGroupName on ArticleReadModel in ArticleReadListModel list.
http://prntscr.com/ew3emi


foxnetsoft wrote:
I can't understand you.
This file _ArticlesBlock.cshtml has a Model (ArticleReadListModel).
This item of class had a property ArticleGroupName.

Try to use this code.
@Model.ArticleGroupName
7 years ago
Can write your posts on plugin forum?
http://www.foxnetsoft.com/boards/forum/15/noparticles
And write me you nop version.
6 years ago
Added support version 4.00.
5 years ago
Added support version 4.10.
4 years ago
Added support version 4.20.
3 years ago
Released the new plugin CMS Manager for nop 4.30.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.