Activities of "liangshiwei"

Hi,

The current design of the menu does not consider persistence to the database, you need to do some work for this.

1. You need to create an entity that is compatible with ApplicationMenu.

2. Create a service that persists all menus to the database when the application is initialized(If the menu is not in the database table)

3. Custom DatabaseMenuManager to replace MenuManager and get the menu from the database(should be filtered based on the current user).

Hi

Try:

Configure<IdentityOptions>(options =>
{
    //null allows all characters
    options.User.AllowedUserNameCharacters = null;
});

I created an issue https://github.com/abpframework/abp/issues/4232 for this.

Hi,

Downlown the source code and find configuration.dom .... line , replace it with the following

var dom = '<"dataTable_filters"f>rt<"row dataTable_footer"<"col-auto"l><"col-auto"i><"col"p>>';

if(configuration.dom){
    configuration.dom += dom;
}else{
    configuration.dom = dom;
}

Use BundleContributor Replace files:

public class DataTablesScriptBundleContributor : BundleContributor
{
    public override void ConfigureBundle(BundleConfigurationContext context)
    {
        context.Files.ReplaceOne(
            "/libs/abp/aspnetcore-mvc-ui-theme-shared/datatables/datatables-extensions.js",
            "/js/databales-extensions.js");
    }
}

In your index.js

var _dataTable = _$table.DataTable(abp.libs.datatables.normalizeConfiguration({
    ......
    dom :"B",
    buttons: [
        'copyHtml5',
        'excelHtml5',
        'csvHtml5',
        'pdfHtml5'
    ]
}));

Now, it works.

Do you have Teamviewer? You can send connection id to my email: liangshiw@outlook.com, Thanks.

OK, Sure.

Hi

I can't reproduce your problem, can you provide steps to reproduce?

Hi

abp suite 2.9 version will be released today

Do you mean the file was replaced, but it didn't work?

Sorry, I mean use free start template to reproduce this problem, commercial project has your license information.

Zobrazeno od 4601 do 4610 z celkem 4735 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11