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
+41
View File
@@ -0,0 +1,41 @@
<?php
return [
// Navigation
'navigation_group' => 'Şablonlar',
'navigation_label' => 'Header Şablonları',
'model_label' => 'Header Şablonu',
'plural_model_label' => 'Header Şablonları',
// Sections
'section_general' => 'Genel Bilgiler',
// Form Fields
'field_title' => 'Başlık',
'field_html_content' => 'HTML İçerik',
'field_html_content_help' => 'Placeholder format: {tip.alan_adi} örn: {text.company_name}, {image.logo}, {email.contact}',
'field_is_active' => 'Aktif',
// Table Columns
'column_title' => 'Başlık',
'column_is_active' => 'Aktif',
'column_pages_count' => 'Sayfa Sayısı',
'column_created_at' => 'Oluşturulma',
'column_updated_at' => 'Güncellenme',
'column_deleted_at' => 'Silinme',
// Actions
'create' => 'Yeni Header Şablonu',
'edit' => 'Header Şablonunu Düzenle',
'view' => 'Header Şablonunu Görüntüle',
'delete' => 'Sil',
'restore' => 'Geri Yükle',
'force_delete' => 'Kalıcı Sil',
// Messages
'created_successfully' => 'Header şablonu başarıyla oluşturuldu.',
'updated_successfully' => 'Header şablonu başarıyla güncellendi.',
'deleted_successfully' => 'Header şablonu başarıyla silindi.',
'restored_successfully' => 'Header şablonu başarıyla geri yüklendi.',
];