From b6c12948605fa341c2c0cd9caf40c440949f7eb2 Mon Sep 17 00:00:00 2001 From: mr-macedawg Date: Fri, 17 Nov 2017 20:43:33 +1000 Subject: [PATCH] Update form template directory As of SS4.0, template files for forms need to be in the root template directory as the core forms folder no longer exists. --- docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md b/docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md index 241189ede..65ca50e36 100644 --- a/docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md +++ b/docs/en/02_Developer_Guides/03_Forms/03_Form_Templates.md @@ -16,7 +16,7 @@ $field = new TextField(..); $field->setTemplate('MyCustomTextField'); ``` -Both `MyCustomTemplate.ss` and `MyCustomTextField.ss` should be located in **mysite/templates/forms/** or the same directory as the core. +Both `MyCustomTemplate.ss` and `MyCustomTextField.ss` should be located in **mysite/templates/** or the same directory as the core.
It's recommended to copy the contents of the template you're going to replace and use that as a start. For instance, if