Hi,
Is it possible to retain the existing themes from 2.7? The new themes looks ok although the dark theme does not fit with our custom designs / branding. I'd like to upgrade to 2.8 but keep the existing themes.
If not possible, then I suggest you add this in future i.e. we don't want to be forced to change themes with each update.
Thanks
Ian
Perfect. Thanks very much.
Hi,
Yes. I'd like to open the change details modal for a new entity. The docs don't describe how to do this. Note that I can open the modal via the audit logging page for my new entity however I'd like to add a command on my custom page to open up the modal.
Opening the modal from an actions menu (on the Tenant Entity) is shown on in the recent ABP 2.7 blog post. I'd like to do something similar for my new Entity.
Note that I'm using MVC.
Any help appreciated.
Thanks
Ian
Hi,
Is it possible to reutilise the new Entity History / Change Details modal for showing change to custom (none Abp entities)? If so, can you please describe how I can call / show the modal in a MVC application.
Note that I have enabled entity history for all entities using the below:
Configure<AbpAuditingOptions>(options =>
{
options.EntityHistorySelectors.AddAllEntities();
});
Entity history is correctly being logged for Abp and custom entities. I would like to utilise the same modal for showing history for custom entities.
Thanks
Ian
Hi,
I figured it out. Added below for reference.
There is a named RenderSection in the theme Application layout called 'content_toolbar'. To add a button to this section then add the following on any page:
@section content_toolbar{ <abp-button button-type="Primary"> Click Me</abp-button> }
Note that I've tried to add a button to the home page as per the above link however it doesn't add the button. A button is correctly added though for pre-built pages i.e. User page.
If a Page 'content' toolbar does not exist (even through there is space reserved), can you confirm how to remove the top row / component from the AbpPage in the theme such that i can add my own.
Thanks
Hi,
I want to achieve something like this Page Toolbar but, say, on the home page in the startup tenplate.
The theme seems to adds a top row to each page. This row includes the title and breadcrumb on the left and the toolbar area / div on the right. I can't seem to work out how to add a button to the toolbar.
See Entity Action doc.
Hi,
In MVC / Razor, how can I add a button to the page toolbar (on a custom page) such that it displays on the top right? I've recently upgraded to 2.6 and I see that functionality has been added to add content / buttons to the toolbars for pages within the various modules. However, I need to add buttons to the toolbars in custom pages. Is it possible to access the toolbar directly on the pages, similar to the breadcrumb via PageLayout.Content?
Probably missing something straightforward.
Appreciate any help.
Thanks
Ian
Perfect. That solved it! Thanks for the support.