PageBuilderContainers.Kentico 12.29.0

Add Widget Containers functionality to MVC Page Builder.   This package is for the Kentico Application (Mother).

Install-Package PageBuilderContainers.Kentico -Version 12.29.0
dotnet add package PageBuilderContainers.Kentico --version 12.29.0
<PackageReference Include="PageBuilderContainers.Kentico" Version="12.29.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PageBuilderContainers.Kentico --version 12.29.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Restores Kentico "Webpart Containers" to MVC Page Builder Widgets.

This package is for Kentico 12 SP, to be installed on the Kentico Web Application ("Mother") and not the MVC Site.

Installation

Part 1 - Kentico Application ("Mother"):

  1. Install PageBuilderContainers.Kentico Nuget Package on your Kentico Application
  2. Rebuild your web application
  3. Log into Kentico as a Global Administrator
  4. Go to Modules
  5. Search and edit Page Builder Containers
  6. Go to Sites and add to your site.

Part 2 - MVC Site

  1. Install the PageBuilderContainers.Kentico.MVC NuGet package on your MVC Site and rebuild

Part 3 - Add to Widgets

  1. Have your Widget Properties Model class implement IPageBuilderContainerProperties, IHtmlBeforeAfterContainerProperties or both. You can also inherit from the base classes of PageBuilderContainers.PageBuilderWidgetProperties or PageBuilderContainers.PageBuilderWithHtmlBeforeAfterWidgetProperties if you wish.
  2. 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&lt;YourWidgetModelClass&gt;, then your property may be Model.Properties instead of Model

Usage

Create Containers

  1. Go to the Page Builder Containers UI element in Kentico
  2. Create your Containers or edit existing.
  3. You can use {% ContainerTitle %}, {% ContainerCSSClass %}, and {% ContainerCustomContent %} as part of the default Container Properties

Add Widget and configure Container

  1. 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)

Restores Kentico "Webpart Containers" to MVC Page Builder Widgets.

This package is for Kentico 12 SP, to be installed on the Kentico Web Application ("Mother") and not the MVC Site.

Installation

Part 1 - Kentico Application ("Mother"):

  1. Install PageBuilderContainers.Kentico Nuget Package on your Kentico Application
  2. Rebuild your web application
  3. Log into Kentico as a Global Administrator
  4. Go to Modules
  5. Search and edit Page Builder Containers
  6. Go to Sites and add to your site.

Part 2 - MVC Site

  1. Install the PageBuilderContainers.Kentico.MVC NuGet package on your MVC Site and rebuild

Part 3 - Add to Widgets

  1. Have your Widget Properties Model class implement IPageBuilderContainerProperties, IHtmlBeforeAfterContainerProperties or both. You can also inherit from the base classes of PageBuilderContainers.PageBuilderWidgetProperties or PageBuilderContainers.PageBuilderWithHtmlBeforeAfterWidgetProperties if you wish.
  2. 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&lt;YourWidgetModelClass&gt;, then your property may be Model.Properties instead of Model

Usage

Create Containers

  1. Go to the Page Builder Containers UI element in Kentico
  2. Create your Containers or edit existing.
  3. You can use {% ContainerTitle %}, {% ContainerCSSClass %}, and {% ContainerCustomContent %} as part of the default Container Properties

Add Widget and configure Container

  1. 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)

Release Notes

Changed Icon and updated assembly

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
12.29.0 88 8/6/2019
12.0.2 72 7/10/2019
12.0.1 65 7/10/2019
12.0.0 65 7/10/2019