Starts in:
2 DAYS
14 HRS
31 MIN
59 SEC
Starts in:
2 D
14 H
31 M
59 S
Open Closed

Docs module how to add a footer #8244


User avatar
0
lizhaofeng created
  • ABP Framework version: v8.3.3
  • UI Type: MVC Basic Theme
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Create an MVC project and add docs module. How to add a footer after using Multi Language Mode.


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    How to add a footer after using Multi Language Mode.

    Can you share a screenshot to explain your case?

    Thanks

  • User Avatar
    0
    lizhaofeng created

    hi maliming,

    My mistake,how to add a footer after using Single Project Mode. Just like

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can add a hook component to EmptyLayout

    https://abp.io/docs/latest/framework/ui/mvc-razor-pages/layout-hooks

  • User Avatar
    0
    lizhaofeng created

    hi,

    Add LayoutHook has been implemented. Here is the code for the implementation:

     context.Services.Configure<AbpLayoutHookOptions>(options =>
            {
                options.Add(LayoutHooks.Body.Last, 
                    typeof(MyFooterViewComponent),
                    layout: StandardLayouts.Empty);
            });
    

    Thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Great

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06