PageBuilderContainers.Kentico.MVC
12.0.0.1
See the version list below for details.
dotnet add package PageBuilderContainers.Kentico.MVC --version 12.0.0.1
NuGet\Install-Package PageBuilderContainers.Kentico.MVC -Version 12.0.0.1
<PackageReference Include="PageBuilderContainers.Kentico.MVC" Version="12.0.0.1" />
paket add PageBuilderContainers.Kentico.MVC --version 12.0.0.1
#r "nuget: PageBuilderContainers.Kentico.MVC, 12.0.0.1"
// Install PageBuilderContainers.Kentico.MVC as a Cake Addin #addin nuget:?package=PageBuilderContainers.Kentico.MVC&version=12.0.0.1 // Install PageBuilderContainers.Kentico.MVC as a Cake Tool #tool nuget:?package=PageBuilderContainers.Kentico.MVC&version=12.0.0.1
Restores Kentico "Webpart Containers" to MVC Page Builder Widgets.
This package is for Kentico 12 SP, to be installed on the MVC web application and not the Kentico Application ("Mother").
Installation
Part 1 - Kentico Application ("Mother"):
- Install
PageBuilderContainers.Kentico
Nuget Package on your Kentico Application - Rebuild your web application
- Log into Kentico as a Global Administrator
- Go to Modules
- Search and edit
Page Builder Containers
- Go to
Sites
and add to your site.
Part 2 - MVC Site
- Install the
PageBuilderContainers.Kentico.MVC
NuGet package on your MVC Site and rebuild
Part 3 - Add to Widgets
- Have your Widget Properties Model class inherit from
PageBuilderContainers.PageBuilderWidgetProperties
- In your Widget's View, add
@Html.PageBuilderContainerBefore(Model)
at the beginning of your rendering, and@Html.PageBuilderContainerAfter(Model)
at the end
- Note: "Model" must be the Widget Property Class object, if using a model of
ComponentViewModel<YourWidgetModelClass>
, then your property may beModel.Properties
instead ofModel
Usage
Create Containers
- Go to the Page Builder Containers UI element in Kentico
- Create your Containers or edit existing.
- You can use
{% ContainerTitle %}
,{% ContainerCSSClass %}
, and{% ContainerCustomContent %}
as part of the default Container Properties
Add Widget and configure Container
- Add your widget to a Page Builder Area in Kentico, you will see the Containers Name, Title, CSS Class, and Custom Content properties in the Widget's configuration dialog (cogwheel icon)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Antlr (>= 3.5.0.2)
- Kentico.AspNet.Mvc (>= 12.0.29)
- Microsoft.CSharp (>= 4.4.1)
- Microsoft.Owin.Security (>= 3.1.0)
- Microsoft.Owin.Security.Cookies (>= 3.1.0)
- Microsoft.Owin.Security.OAuth (>= 3.1.0)
- Microsoft.Web.Xdt (>= 2.1.1)
- Newtonsoft.Json (>= 11.0.2)
- WebGrease (>= 1.6.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on PageBuilderContainers.Kentico.MVC:
Package | Downloads |
---|---|
BootstrapLayoutTool.PageBuilderContainered.Kentico.MVC
Bootstrap 4 based Section tool for Kentico MVC Page Builder |
|
HBS.StaticTextContainerizedWidget.Kentico.MVC
Containerized Static Text Widget for entering static text into a page builder section. |
|
Bootstrap3LayoutTool.PageBuilderContainered.Kentico.MVC
Bootstrap 3 based Section tool for Kentico MVC Page Builder, with Page Builder Container |
GitHub repositories
This package is not used by any popular GitHub repositories.
Fixed file placement (not in content folder)