This a starter point to develop MVC Page Builder Components. It contains one sample widget, inline editor, form component, and section.
This repo is still in development. It is about to be released after the Kentico 12 Service pack is released.
Currently it is possible to start the development, but the repository structure might change. See the list of the issues that need to be solved before release.
All git clone, git fetch, or git pushoperations targeting the previous location will continue to function as if made on the new location. However, to reduce confusion, we strongly recommend updating any existing local clones to point to the new repository URL. You can do this by using git remote on the command line:
$ git remote set-url origin https://github.com/Kentico/ems-mvc-component-starter.git
-
Download Kentico installation
-
Install Kentico using the command line.
-
Use Kentico installation profile template and define
TargetFolder
attribute of thIIS
tag (:warning: Do not use the same location as the one you have you exe file located)- This will install Kentico Administration interface without any site
- If you wish to adjust the connection to the different database server, adjust the
SQL
tag in the configuration - If you wish to add your license to the instance, adjust the
Licenses
tag in the configuration XML
.\Kentico_12_0_trial.exe KenticoInstallationProfile.xml
If you get an error about already installed program files run command for uninstalling the current program files and then run the previous command again
.\Kentico_12_0_trial.exe /u
-
-
Apply the latest hotfix (or at least 12.0.29)
-
Run the administration instance (already registered in IIS with
_Admin
suffix) and import the site export package according to the (documentation)- This package contains
- Site (With
Presentation URL
) - Page type (configured for page builder - url pattern
/
and use tab checkbox) - Page by this page type
- Automatic web farms
- Site (With
- This package contains
-
Clone this repository to the different folder than the Kentico administration is installed
git clone https://github.com/Kentico/ems-mvc-component-boilerplate
-
Build the ComponentBoilerplate.sln.
-
Set the hash string salt (
CMSHashStringSalt
) in the web.config file from Kentico administration application web.config application settings. -
Set the the connection string (
CMSConnectionString
) in the web.config file from Kentico administration applicationweb.config
connection strings. -
Build the ComponentBoilerplate.sln.
-
Run command to reinstall packages (see the issue) in Package Manager Console for the Visual Studio and confirm rewriting all the content
Update-Package -reinstall
-
Register the site in IIS (It is also possible to use IIS express)
- use
<TargetFolder>/ComponentBoilerplate
as aPhysical path
- you could use the same Application pool as is set f administration application
- use
-
Adjust presentation URL in the administration instance according to the registration from the previous step
-
Open the administration interface, go to Pages, select the
DevelopmentPage
and you could see the page builder set up.