Implement default data functionality for templates: Added 'default_data' field to HeaderTemplate, FooterTemplate, and SectionTemplate models. Enhanced TemplateService to generate dynamic fields based on this new data. Updated form schemas in template forms to include sections for default values, improving template management and usability. Added localization support for new fields in both English and Turkish.

This commit is contained in:
Ümit Tunç
2025-11-01 02:01:07 -03:00
parent c5e09296a4
commit 0d23c20f85
18 changed files with 335 additions and 23 deletions
+2
View File
@@ -9,6 +9,8 @@ return [
// Sections
'section_general' => 'Genel Bilgiler',
'section_default_data' => 'Varsayılan Değerler',
'section_default_data_desc' => 'Template oluştururken placeholder\'lar için varsayılan değerleri girebilirsiniz. Bu değerler sayfalarda template seçildiğinde otomatik yüklenecektir.',
// Form Fields
'field_title' => 'Başlık',
+2
View File
@@ -9,6 +9,8 @@ return [
// Sections
'section_general' => 'Genel Bilgiler',
'section_default_data' => 'Varsayılan Değerler',
'section_default_data_desc' => 'Template oluştururken placeholder\'lar için varsayılan değerleri girebilirsiniz. Bu değerler sayfalarda template seçildiğinde otomatik yüklenecektir.',
// Form Fields
'field_title' => 'Başlık',
+2
View File
@@ -9,6 +9,8 @@ return [
// Sections
'section_general' => 'Genel Bilgiler',
'section_default_data' => 'Varsayılan Değerler',
'section_default_data_desc' => 'Template oluştururken placeholder\'lar için varsayılan değerleri girebilirsiniz. Bu değerler sayfalarda template seçildiğinde otomatik yüklenecektir.',
// Form Fields
'field_title' => 'Başlık',