Add dynamic template system: Implemented header, footer, and section templates with corresponding models, migrations, and Filament resources. Enhanced Page model to support dynamic templates and updated localization files for new terms. Added TemplateService for managing template data and rendering. Comprehensive documentation included for usage and best practices.

This commit is contained in:
Ümit Tunç
2025-10-31 14:53:34 -03:00
parent 0f78292c46
commit c042cb5114
46 changed files with 2709 additions and 0 deletions
+16
View File
@@ -147,4 +147,20 @@ return [
'value_type_datetime' => 'Date & Time',
'value_type_array' => 'Array',
'value_type_json' => 'JSON',
// Dynamic Template System
'form_section_header_template' => 'Header Template',
'form_section_header_template_desc' => 'Select a dynamic header template for the top of the page',
'header_template_field' => 'Header Template',
'form_section_template_sections' => 'Template Sections',
'form_section_template_sections_desc' => 'Add dynamic template sections for the page',
'template_sections_field' => 'Template Sections',
'section_template_field' => 'Section Template',
'add_template_section' => 'Add Section',
'template_section' => 'Template Section',
'form_section_footer_template' => 'Footer Template',
'form_section_footer_template_desc' => 'Select a dynamic footer template for the bottom of the page',
'footer_template_field' => 'Footer Template',
];