okains的活动

OK I will try that out, can you provide the code for the MobileNavbar, so that I can use that as the basis for this?

Yes, I am using the TopMenu, configured just that way. I just need to understand how to properly override the Mobile Menu and Navbar as discussed in the question.

Hi,

I am using the TopMenu components

OK yeah I will likely implement the code that way, but where does that code go? All i see in the documentation in the MobileMenuSelector config options, which would allow me to add / remove Menu Items:

What I need to do is replace that Dashboard Icon with Notification Icon that shows number of unread messages. Can I override that component somehow, or is there another way to do this?

Thanks,

Karim

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

I would like to implement a SignalR polling notification counter in the mobile menu on Blazor LeptonX. Need to maybe poll every 5 seconds or so for messages, then display the number of unread messages dynamically to the user. I don't understand exactly where I would put the Signalr notification / polling code in the Mobile menu. Is this possible? In the screenshot below, where the Following icon is I will have an Inbox icon and I want to display any sent / unread messages to the user.

From the docs I don't understand where the polling code would go, can you help me understand how to implement this correctly?

Thanks,

Karim

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

I can't seem to find documentation on how to fully override and customize the mobile menu on LeptonX Blazor. I have overrides for everything else:

But I can't find documentation on how to override the Mobile Menu. What I would like to do is to add our Logo at the top, then style up the menu items as needed. As it is it looks like this ( with annotations for things I want to add ) :

And one last related thing, I have been trying to override the MobileNavbar, with this code provided from your documentation:

@using Volo.Abp.DependencyInjection @using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.TopMenu.Navigation

@inherits MobileNavbar

@attribute [ExposeServices(typeof(MobileNavbar))] @attribute [Dependency(ReplaceServices = true)]

<strong>TestXXX</strong>

But it doesn't seem to work. With this I would imagine I could implement the logo requirement stated above on the mobile menu, but this override doesn't work at all. Any idea what is going on with this?

Thanks for your help,

Karim

Ah yes, I was using the AccountResource instead of my SITOResource. I should have seen that! Thanks for pointing that out, ill close this now.

  • ABP Framework version: v8.0
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server )
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace: Login / Register pages not picking up on the DomainShared/Localization resources
  • Steps to reproduce the issue:

I have overridden the Login / Register pages as so:

I need to provide Localized strings but any new strings I add in the Domain.Shared/Localisation en.json are not recognized here:

Do I need to provide a separate resource file for the account pages? It seems like I am missing something here, please let me know what I need to do to properly localize the overridden Account / Register pages.

Thanks,

Karim

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

I am trying to customize my Main Header and Toolbar, and I want to move the Main Menu into the Main Header. Also need a search box in the Main Header to the left of the menu. Here are some screenshots of where I am , and where I want to be:

and this is how I would like the Main Header to look :

as it stands, I have overrided MainHeaderBranding, GeneralSettings, MainHeaderToolbar. But when I override MainHeader I just get a blank canvas and an exception. So I need the MainHeader to incorporate all my other overrides, and then allow me to add the Search Box and to move the Main Menu .

I have seen this question asked in a few different ways but no definite answer on how to customize this. Would really appreciate a clear step by step answer on how to accomplish this.

Thanks,

Karim

OK that will work for now, can you let me know how to track this so I know when it is fixed?

And since this is a bug can you refund my question credit?

Thanks,

Karim

显示 57 个条目中的 11 到 20 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11