Question: I would like to overwrite the Form.ss template.
Where should it be placed?
I am using $default theme which was added with SS 4.x
See Custom Code Structure where
HTML with *.ss-extension for the $default theme are located within app/templates
The Form.ss template which is used by default is located within
as mentioned initially
I tried already
app/templates/Form.ss
app/templates/SilverStripe/Forms/Includes/Form.ss
app/templates/SilverStripe/Forms/Form.ss
app/templates/Includes/Form.ss
But I don’t get the last comment with the screenshot.
You are adding a template file and structure to the src folder which is meant for PHP implementation ?
How is the UserForm related to the Form.ss ?
@lhasselb I am giving you just example of UserForm.
You tried with app/templates/SilverStripe/Forms/Includes/Form.ss structure, but please try with app/src/templates/SilverStripe/Forms/Includes/Form.ss structure.
No success yet means: The template is not overwritten.
The default template
<!-- template /Users/tommy/Sites/ss4/vendor/silverstripe/framework/templates/SilverStripe/Forms/Includes/Form.ss -->
is used.
And I want to overwrite that.