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)
-
0
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