Open Closed

how to add my custom layout in public web site mvc core ? #9284


User avatar
0
devmahmod created

i want to add my custom layout in public web site of MVC CORE project i'm using CMS KIT PRO so i want to if user open page management and will select layout see my custom layout and if select apply to public web site


1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    Layout feature was added by one of the community member with this PR: https://github.com/abpframework/abp/pull/20911

    You can review that PR and find out how it can be customized in your application.

    You can create a new Pages/Public/CmsKit/Pages/Index.cshtml in your project and resolve layout according to your own logic here:

    This is the full content of that file that you can use as base: https://github.com/suhaib-mousa/abp/blob/dev/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Pages/Index.cshtml

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 13, 2025, 11:37