Hi,
A couple of questions relating to navbar / toolbar customisation.
I first remove all items however the Fullscreen component is not being removed as follows:
How can I remove the Fullscreen component? Do I need to replace the entire Toolbar component? If so, can you please advise what files I need to override.
To implement this functionality I think I need to use the layout hock mechanism but the documentation seems to be still in development:
https://docs.abp.io/en/abp/latest/UI/AspNetCore/Layout-Hooks
Can you please advise how to use the layout hook mechanism to achieve the above. I suspect that my requirements might not be possible without overriding the header or the entire layout. Is it possible to override the header (similar to overriding the footer (provided in the start-up template)? If so, can you please advise what file to override (I've tried _Header.chtml).
Thanks
Ian
Hi,
I have recently published my app to azure as a test. I noticed a few strange things with the theme / css.
This works fine in development. However, in production the footer has not been replaced and that it has defaulted to:
Why is the footer not being replaced in the production environment?
However in production, the change time information is correctly displayed as below:
Why is causing the different beaviour?
This works perfectly however I ran into some issues with the minification / bundling logic:
Volo.Abp.Minify.NUglify.NUglifyException: There are some errors on uglifying the given source code! Original file: /styles/ipams-global-styles.css __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(688,26): run-time error CSS1063: Expected calculation unit, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(688,26): run-time error CSS1064: Expected calculation product, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(688,26): run-time error CSS1065: Expected calculation sum, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(688,26): run-time error CSS1034: Expected closing parenthesis, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(688,26): run-time error CSS1042: Expected function, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(688,26): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(692,25): run-time error CSS1063: Expected calculation unit, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(692,25): run-time error CSS1064: Expected calculation product, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(692,25): run-time error CSS1065: Expected calculation sum, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(692,25): run-time error CSS1034: Expected closing parenthesis, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(692,25): run-time error CSS1042: Expected function, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(692,25): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(696,28): run-time error CSS1063: Expected calculation unit, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(696,28): run-time error CSS1064: Expected calculation product, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(696,28): run-time error CSS1065: Expected calculation sum, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(696,28): run-time error CSS1034: Expected closing parenthesis, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(696,28): run-time error CSS1042: Expected function, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(696,28): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(700,25): run-time error CSS1063: Expected calculation unit, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(700,25): run-time error CSS1064: Expected calculation product, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(700,25): run-time error CSS1065: Expected calculation sum, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(700,25): run-time error CSS1034: Expected closing parenthesis, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(700,25): run-time error CSS1042: Expected function, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(700,25): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(704,25): run-time error CSS1063: Expected calculation unit, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(704,25): run-time error CSS1064: Expected calculation product, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(704,25): run-time error CSS1065: Expected calculation sum, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(704,25): run-time error CSS1034: Expected closing parenthesis, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(704,25): run-time error CSS1042: Expected function, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(704,25): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2048,38): run-time error CSS1063: Expected calculation unit, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2048,38): run-time error CSS1064: Expected calculation product, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2048,38): run-time error CSS1065: Expected calculation sum, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2048,38): run-time error CSS1034: Expected closing parenthesis, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2048,38): run-time error CSS1042: Expected function, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2048,38): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2049,39): run-time error CSS1063: Expected calculation unit, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2049,39): run-time error CSS1064: Expected calculation product, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2049,39): run-time error CSS1065: Expected calculation sum, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2049,39): run-time error CSS1034: Expected closing parenthesis, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2049,39): run-time error CSS1042: Expected function, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2049,39): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2106,23): run-time error CSS1036: Expected expression, found '!important' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2142,12): run-time error CSS1036: Expected expression, found '!important' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2178,19): run-time error CSS1036: Expected expression, found '!important' __bundles/Lepton.Global.8C224654427E9D7DCEF14A3E74A5BB4E.css(2214,23): run-time error CSS1036: Expected expression, found '!important'
I have crudly addressed the above by commenting out each line and the bundling logic then works fine. Note that above line numbers exactly align with lepton1.css (I copied this css as the basis for my custom css). If the css is exactly the same, why are these errors generated in my custom css but not if I use the lepton1.css? Is it because the lepton1.css has already been pre-minified and somehow the issues are addressedas part of a minification process outside of the abp framework?
Appreciate any help.
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,
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
Hi,
I'm developing a WPF client but I can't seem to initialise. I'm creating an application via the AbpApplicationFactory however when I call application.Initialize() the WPF client exits with code -42. I'm seeing a similar behaviour on the ConsoleTestApp where the following is written to the Console after calling application.Initialize().
info: Microsoft.Hosting.Lifetime[0] Application is shutting down...
I suspect I'm missing something with regards to hosting an ABP Application. Can you please confirm the best practice for hosting an ABP application within a WPF application.
Thanks
Ian
Hi,
We need to create a desktop client (WPF) and we would like to utilise the dynamic HTTP proxies however I can't seem to find a service / proxy that will allow a user login. A login method doesn't seem to exist on the IAcoountAppService. Does a login method exist elsewhere? Am I missing something?
I can obviously login via a HttpClient however I can't see how to do this while using the dynamic proxies (the proxies will use a separate client that hasn't been logged in).
Appreciate any help.
Thanks
Ian
Hi,
I've created a new angular solution using the abp suite. After applying the migrations I'm able to complete start up and login without issue. However, on navigation to the dashboard, saas, indentity management, indentity server, and audit logs pages I receive an internal error / exception (status 500).
Am I missing a configuration step? Note that I used the DbMigrator to seed the database.
Thanks