From 392928135d2b497f76336ddd6003add0394e86d7 Mon Sep 17 00:00:00 2001 From: whuu Date: Sun, 25 Mar 2018 18:02:38 +0200 Subject: [PATCH] Update README.md --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index baa4efa..17ca37d 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,24 @@ Editors have two options to insert the form, both work from Experience and Conte * In Content Delivery server copy the files from [Inline Foms-1.0 CD.zip](sc.package) to website root folder. To display Sitecore 9 Form in your page, make sure that you have `@Html.RenderFormStyles()` and `@Html.RenderFormScripts()` in your MVC layout with `@using Sitecore.ExperienceForms.Mvc.Html` directive. + +## Manual Installation/Install from Source + +* Clone repository +* If needed update nuget packages used in InlineForms projects to match your Sitecore 9 version +* Update `publishUrl` to your Sitecore instance URL in `publishsettings.targets` file +* Update path in `SourceFolderInlineForms` variable to your local repository folder in `SmartSitecore.InlineForms.DevSettings.config` file +* Publish `SmartSitecore.Foundation.InlineFormsRenderer` and `SmartSitecore.Foundation.InlineFormsRichText` projects from Visual Studio +* Publish `SmartSitecore.Foundation.InlineForms.Serialization` project. This project contains Unicorn assemblies and configuration. If you already have Unicorn in your project you can deploy only `App_Config\Include\Foundation\InlineForms` folder. +* Go to {your-sitecore-instance}/unicorn.aspx and sync `Foundation.InlineFormsRichText` project. + +### Test website deployment + +* Follow the steps for manual installation of the module +* Publish `SmartSitecore.Project.InlineForms.TestWebsite` project form Visual Studio. Project contains Glass.Mapper configuration, if you already have it, you can remove them. +* Go to {your-sitecore-instance}/unicorn.aspx and sync `Foundation.Serialization` and `Project.InlineFormsTestWebsite` projects. +* Redeploy your site if you use web database +* Test pages are installed under `/sitecore/Content/Home/InlineForms` item, there is also test contact form item under `/sitecore/Forms`. Project contains two pages which show how to render inline form with Standard Sitecore MVC or Glass.Mapper +* If the contact form is not visible in Forms app, rebuild sitecore_master_index in Control Panel +* If the contact form item usage doesn't point to the test pages, rebuild master link database in Control Panel +