From 7ad6b2a65e4fc3583395a6e40eb11553c321bd70 Mon Sep 17 00:00:00 2001 From: Rafael Velazco Date: Wed, 21 Aug 2024 08:59:40 -0400 Subject: [PATCH] fix(Page Properties): keep custom template after update (#29669) ### Proposed Changes * fix(template): Page content is deleted after changing page properties - #29569 * fix(template): Page content is deleted when changing language - #29572 * fix(template): Keep custom template after update - #29034 ## Videos ### Page content is deleted after changing page properties https://github.com/user-attachments/assets/b1348572-89b9-404d-9df3-7cae19bd688a ### Page content is deleted when changing language https://github.com/user-attachments/assets/4f3079da-77bf-4616-a031-7a3802c40d39 ### Keep custom template after update https://github.com/user-attachments/assets/23217700-1800-4ed7-ad7e-9ccc75fafac3 --- .../htmlpage_assets/template_custom_field.vtl | 275 +++++++++--------- 1 file changed, 136 insertions(+), 139 deletions(-) diff --git a/dotCMS/src/main/webapp/WEB-INF/velocity/static/htmlpage_assets/template_custom_field.vtl b/dotCMS/src/main/webapp/WEB-INF/velocity/static/htmlpage_assets/template_custom_field.vtl index 94c6937a6e56..e906b927dca2 100644 --- a/dotCMS/src/main/webapp/WEB-INF/velocity/static/htmlpage_assets/template_custom_field.vtl +++ b/dotCMS/src/main/webapp/WEB-INF/velocity/static/htmlpage_assets/template_custom_field.vtl @@ -1,49 +1,137 @@