Base solution for your next web application

Activities of "byteplatz"

Hello

How can I localize the dialog that appears when the user does not have access to a certain AppService (marked with AbpAuthorize)

Currently the message is in english :

Required permissions are not granted. At least one of these permissions must be granted: (image attached)

And I didn't find this string on language resources

Thank you very much

Bruno Bertechini

Thanks for the reply.

I understand and I agree with you on cliente side/menu approach.

I was just wondering if this is by design or something missing.

I ask because I am following documentation and testing/understanding between each and every step...

Thanks a lot

Bruno

Hello,

Where can I find documentation/samples for the metronic theme ? We need to create few pages and would like to read the documentation regarding the componente set available!

Kind Regards

Bruno Bertechini

Hello

Is that possible to have custom layouts per tenant for the MPA Landing page ?

What approach would be ?

Bruno Bertechini

+1 for the suggested approach.

We used to have same Scenario, and we end up creating code-first like classes and entities by adapting then as we go...

Regards

Bruno Bertechini

Thank you very much

Bruno

Hello,

How should I configure a given custom module for localization using the new db-stored language feature from v1.6 ?

Right now we are using this code for XML:

Configuration.Localization.Sources.Add(
                new DictionaryBasedLocalizationSource(
                    ModuleConsts.LocalizationSourceName,
                    new XmlEmbeddedFileLocalizationDictionaryProvider(
                        Assembly.GetExecutingAssembly(),
                        ModuleConsts.LocalizationSourceRootNameSpace
                        )
                    )
                );

I can see that WebModule has a new config line :

Configuration.Modules.Zero().LanguageManagement.EnableDbLocalization();

Bottomline I just need that line at my custom module core Project module and remove this

//Add/remove localization sources
            Configuration.Localization.Sources.Add(
                new DictionaryBasedLocalizationSource(
                    CardStockConsts.LocalizationSourceName,
                    new XmlEmbeddedFileLocalizationDictionaryProvider(
                        Assembly.GetExecutingAssembly(),
                        CardStockConsts.LocalizationSourceRootNameSpace
                        )
                    )
                );

Is that enough or do I need to do something else ?

Bruno

Ok thanks.

Do I need to add this code to PreInitialize for each custom module ? Or only in App (since I am using a separated solution for each module)

//Use database as language management
            Configuration.Modules.Zero().LanguageManagement.EnableDbLocalization();

Cheers

Bruno

Thank you very much

I will code accordingly and get back to you

Bruno

Showing 1 to 10 of 57 entries