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:
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user