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

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 12, 2025, 09:12