PageBuilderContainers.Kentico
12.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PageBuilderContainers.Kentico --version 12.0.1
NuGet\Install-Package PageBuilderContainers.Kentico -Version 12.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PageBuilderContainers.Kentico" Version="12.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PageBuilderContainers.Kentico --version 12.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PageBuilderContainers.Kentico, 12.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PageBuilderContainers.Kentico as a Cake Addin #addin nuget:?package=PageBuilderContainers.Kentico&version=12.0.1 // Install PageBuilderContainers.Kentico as a Cake Tool #tool nuget:?package=PageBuilderContainers.Kentico&version=12.0.1
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 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)
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Fixed Files (not placed in Content Folder)