Base solution for your next web application

Activities of "princedis"

did, but error. On tracing I understood that the "Odyssey" is the first item in the list and the dashboard menu item is yet to be generated.

Hi Using your great tutorial <a class="postlink" href="https://github.com/aspnetboilerplate/sample-blog-module">https://github.com/aspnetboilerplate/sample-blog-module</a>, I build my own module, and my menu "Odyssey" shows above the default "Dashboard".

How can I push my menu "Odyssey" just as 2nd one, i.e between **Dashboard**and Administration

Answer

If am not mistaken, I need to download the bootstrap and angular plugin and save it to lib, and then update "ScriptPath.cs" and "AppBundleConfig.cs" accordingly... and then use the directive right......?

If you have any step by step doc it would b great.

Question

How to place a datepicker (without time) on a create model popup?

I have a LDAP enabled (their by no multi-tenant enabled) portal out of aspnetzero with a url live.portal.com pointing to a db "LivePortalDB". Ho can i configure a test site where it point to the same source code, with a diffrent url like "test.portal.com" where by it is pointed to a diffrent db in back end. So that i can play with live susyem with dummy data, with out tamparing live database.

I have to create a self referencing tree like category, subcategory entity which is similar to OrganizationUnit.

public class Category
{

    [Key]
    public int Id { get; set; }

    [StringLength(40)]
    public string Name { get; set; }

    public int? ParentId { get; set; }

    [JsonIgnore]
    public virtual ICollection<Category> Children { get; set; }

    [JsonIgnore]
    public virtual Category Parent { get; set; }
}

Hi. In our project, We decided to separate the core of each activity as module itself like "Inventory", "Purchase". And in each, I have defined Navigation Menus as well. Along with custom Localizatation. But the entry in the xml file is not visible in admin panned so that to edit it.

Purcahase Module

PurchaseConsts.cs

public class PurchaseConsts
{
public const string LocalizationSourceName = "Purchase";
}

PurchaseModule.cs

//SASCoreModule is the main core module
[DependsOn(typeof(SASCoreModule), typeof(InventoryModule))]
    public class PurchaseModule : AbpModule
    {

        public override void PreInitialize()
        {
            //Add/remove localization sources
            Configuration.Localization.Sources.Add(
                new DictionaryBasedLocalizationSource(
                    PurchaseConsts.LocalizationSourceName,
                    new XmlEmbeddedFileLocalizationDictionaryProvider(
                        Assembly.GetExecutingAssembly(),
                        "JPY.SAS.Core.Purchase.Localization.Purchase"
                        )
                    )
                );
        }
        public override void Initialize() { IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly()); }
    }

PurchaseNavigationProvider.cs

public class PurchaseNavigationProvider : NavigationProvider
    {
        public override void SetNavigation(INavigationProviderContext context)
        {
            context.Manager.MainMenu
              .AddItem(
                  new MenuItemDefinition(
                      "ppyTasks",
                      new LocalizableString("ppyTasks", PurchaseConsts.LocalizationSourceName),
                      url: "/Tasks",
                      icon: "fa fa-tasks"
                      )
              );
        }
    }

SASWebModule.cs

[DependsOn(
        typeof(AbpWebMvcModule),
        typeof(SASDataModule),
        typeof(SASApplicationModule),
        typeof(SASWebApiModule),
        typeof(AbpWebSignalRModule),
        typeof(AbpHangfireModule), //AbpHangfireModule dependency can be removed if not using Hangfire
        typeof(InventoryModule),
        typeof(PurchaseModule))] 
    public class SASWebModule : AbpModule
    {
        public override void PreInitialize()
        {
            //Use database as language management
            Configuration.Modules.Zero().LanguageManagement.EnableDbLocalization();
            //Configuration.Localization.IsEnabled = false;

            //Configure navigation/menu
            Configuration.Navigation.Providers.Add<AppNavigationProvider>();
            Configuration.Navigation.Providers.Add<FrontEndNavigationProvider>();
            Configuration.Navigation.Providers.Add<MpaNavigationProvider>();
            //Configuration.Navigation.Providers.Add<InventoryNavigationProvider>();
            Configuration.Navigation.Providers.Add<PurchaseNavigationProvider>();
}

how can I achieve this? is it a good practice to have separate module?

Question

sorry to ask many questions. how/where can I see "Notification List"? How can I send a specific notification to a user? How to test notification to myself?

GitHub links are showing 404 error

How to turn off all languages except English.

Showing 11 to 20 of 20 entries