Add email templates, page layouts, and shop themes (template system)
Deploy to Production (witstore.wende.it) / deploy (push) Successful in 7s
Deploy to Production (witstore.wende.it) / deploy (push) Successful in 7s
- E-Mail-Templates: DB-gespeicherte HTML-Templates mit {{placeholder}}-System,
Admin-UI zum Bearbeiten von Betreff und Body, alle 4 Mailables aktualisiert
- Seiten-Layouts: 4 Layouts für CMS-Seiten (Standard, Sidebar, Volle Breite, Landing),
Layout-Auswahl im Admin-Formular
- Shop-Themes: 5 Farbthemen via CSS-Variablen, Picker in Einstellungen
- Deployment: EmailTemplateSeeder wird automatisch beim Deploy ausgeführt
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -59,11 +59,13 @@ class PageController extends Controller
|
||||
'show_in_footer' => 'boolean',
|
||||
'show_in_nav' => 'boolean',
|
||||
'nav_sort' => 'integer|min:0',
|
||||
'layout' => 'nullable|in:default,sidebar,full,landing',
|
||||
]);
|
||||
$data['slug'] = $data['slug'] ? Str::slug($data['slug']) : Str::slug($data['title']);
|
||||
$data['published'] = $request->boolean('published');
|
||||
$data['show_in_footer'] = $request->boolean('show_in_footer');
|
||||
$data['show_in_nav'] = $request->boolean('show_in_nav');
|
||||
$data['layout'] = $request->input('layout', 'default');
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user