Open Closed

MVC importing lpx-avatar component #5717


User avatar
0
WilliamT created
  • ABP Framework version: v7.3.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi,

I would like to create my custom page with empty layout, and i need to import the user menu I want that only without any toolbar menu.


27 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    This is the latest code of chat icon

    using Microsoft.AspNetCore.Mvc;
    using Volo.Abp.AspNetCore.Mvc;
    
    namespace Volo.Chat.Web.Pages.Chat.Components.MessagesToolbarItem;
    
    public class MessagesToolbarItemViewComponent : AbpViewComponent
    {
        public virtual IViewComponentResult Invoke()
        {
            return View("/Pages/Chat/Components/MessagesToolbarItem/Default.cshtml");
        }
    }
    
    
    
      <a href="@Url.Page("/Chat/Index")" class="lpx-menu-item-link">
        <span class="lpx-menu-item-icon">
          <i class="lpx-icon fas fa-envelope" aria-hidden="true"></i>
        </span>
      </a>
    
  • User Avatar
    0
    WilliamT created

    Hi,

    Thank you. Can I keep this ticket open for a few days until Im able to work on this again.

    Regards,

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11