Open Closed

Favorite Pages Implementation #6641


User avatar
0
IbrahimSarigoz created

Hello, we want to add the favorites page to our project, but the star sign does not appear at all. https://leptontheme.com/index.html#leptonx-content in this link, it says we can add it easily, but I couldn't find any way in commercial leptonx. I would be happy if you help

  • ABP Framework version: v8.0.4
  • UI Type: MVC
  • Database System: EF Core Oracle
  • Tiered (for MVC) or Auth Server Separated (for Angular): Tiered
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Try to add icon like this icon: "lpx-icon bi bi-star-fill" in MenuContributor.cs file.

    Thank You

  • User Avatar
    0
    IbrahimSarigoz created

    Where exactly should I put this icon, it's not just about the icon, it's about favorite pages. We don't have a favorite page in the crud project. Can you send a code

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    You can add in MenuContributor.cs file like

     context.Menu.AddItem(
        new ApplicationMenuItem(
            DemoMvcAppMenus.Favourite,
            "Favourite",
            "~/",
            icon: "lpx-icon bi bi-star-fill",
            order: 2
        )
    );
    

    which will result like this for Side Menu Layout

    It's functionality is not available yet, it will be available in our next version. You can implement it at your own.

    Thanks

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11