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' => 'General Information',
|
||||
'section_default_data' => 'Default Values',
|
||||
'section_default_data_desc' => 'You can enter default values for placeholders when creating templates. These values will be automatically loaded when the template is selected on pages.',
|
||||
|
||||
// Form Fields
|
||||
'field_title' => 'Title',
|
||||
|
||||
@@ -9,6 +9,8 @@ return [
|
||||
|
||||
// Sections
|
||||
'section_general' => 'General Information',
|
||||
'section_default_data' => 'Default Values',
|
||||
'section_default_data_desc' => 'You can enter default values for placeholders when creating templates. These values will be automatically loaded when the template is selected on pages.',
|
||||
|
||||
// Form Fields
|
||||
'field_title' => 'Title',
|
||||
|
||||
@@ -9,6 +9,8 @@ return [
|
||||
|
||||
// Sections
|
||||
'section_general' => 'General Information',
|
||||
'section_default_data' => 'Default Values',
|
||||
'section_default_data_desc' => 'You can enter default values for placeholders when creating templates. These values will be automatically loaded when the template is selected on pages.',
|
||||
|
||||
// Form Fields
|
||||
'field_title' => 'Title',
|
||||
|
||||
Reference in New Issue
Block a user