Commit Graph

16 Commits

Author SHA1 Message Date
Ümit Tunç 4bdcf66c99 Implement Commenting Feature in Blog: Enhanced BlogController to handle comments by adding a new storeComment method. Updated blog show view to display approved comments and related posts, improving user engagement and content interaction. Added routes for comment submission, ensuring a complete commenting system. 2025-11-06 16:59:25 -03:00
Ümit Tunç 605f0d158f Refactor Blog and Page Controllers: Updated BlogController and PageController to utilize the new Blog model and integrated dynamic header and footer templates. Removed the DatabaseSeeder file as it is no longer needed. Enhanced the TemplateService to support dynamic content rendering for both blog and page templates, improving the overall template management system. 2025-11-06 16:49:02 -03:00
Ümit Tunç d72ce2434a Enhance template placeholder functionality: Updated the TemplateService to support new placeholders for page content, title, and excerpt. Modified related components and views to utilize these placeholders, improving dynamic content rendering. Added special placeholder buttons in the placeholder picker for easier insertion. 2025-11-05 10:24:43 -03:00
Ümit Tunç f1b1f6e266 Add locale management middleware: Introduced SetLocale middleware to handle language settings based on user session and available languages. Updated app bootstrap to include the middleware, ensuring proper localization support throughout the application. Enhanced language selector component for improved user experience. 2025-11-04 15:40:53 -03:00
Ümit Tunç c5b83d0533 Enhance User Guide and Template Services: Added max content width configuration to UserGuide page for improved layout. Updated TemplateService to always replace placeholders, ensuring custom components are handled correctly even with empty default data. Enhanced error handling for custom component rendering, providing user-friendly error messages in the preview. Introduced a new guide for website setup, detailing installation steps and features. 2025-11-03 17:14:53 -03:00
Ümit Tunç 4a2a66c55c Add Menu Template functionality: Created MenuTemplate resource with CRUD pages, schemas, and table configuration. Implemented localization for menu template fields and integrated menu rendering capabilities. Enhanced TemplatePreviewController to support menu templates and updated dynamic template documentation accordingly. 2025-11-03 15:43:47 -03:00
Ümit Tunç 1d46c9243d Refactor TemplatePreviewController to enhance template retrieval and default data handling: Updated the preview method to fetch template objects by ID, introduced default data management, and replaced placeholders with default values using TemplateService. Improved method signatures for clarity and consistency in data handling. 2025-11-01 15:55:39 -03:00
Ümit Tunç 78d3bce584 Refactor TemplatePreviewController to support template content retrieval by ID: Updated the preview method to accept a record ID for fetching template content from the database. Introduced a private method to handle content retrieval for header, footer, and section templates. Enhanced error handling for empty content scenarios, improving the overall robustness of the template preview functionality. 2025-11-01 15:31:53 -03:00
Ümit Tunç 0d23c20f85 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. 2025-11-01 02:01:07 -03:00
Ümit Tunç 52c4ba1b19 Add template preview functionality: Introduced TemplatePreviewController and TemplatePreviewService for rendering dynamic previews of header, footer, and section templates. Updated form schemas to include preview components and enhanced real-time content updates. Added configuration for template assets and integrated preview functionality into the admin panel. 2025-10-31 16:48:36 -03:00
Ümit Tunç 02e4f46694 Implement dynamic template rendering and page observer: Enhanced PageController to support dynamic header and footer templates, utilizing TemplateService for placeholder replacement. Introduced PageObserver to manage homepage status across pages. Updated routes for improved debugging and dynamic homepage display. Refactored views to accommodate new templating system. 2025-10-31 15:49:29 -03:00
Ümit Tunç 22b39d94a9 Add Page Section Builder functionality: Introduced a new section builder for dynamic page sections in the Filament Admin panel, allowing users to add various section types with flexible key-value data management. Enhanced the Page model with methods for parsed sections and section data retrieval. Updated localization files to support new section-related terms and added comprehensive documentation for usage and best practices. 2025-10-30 16:28:50 -03:00
Ümit Tunç 08e07a9e63 Add Blog functionality: Created BlogController with index and show methods, added blog views, and integrated localization for meta tags. Updated routes to include blog paths. 2025-10-30 15:26:11 -03:00
Ümit Tunç fa136f4948 Remove unnecessary blank lines in PageController, footer, and navigation Blade templates for cleaner code structure. 2025-10-03 13:01:37 -03:00
Ümit Tunç 736f9c536d Add initial website setup: Created essential files including package-lock.json, setup documentation, and foundational Blade templates. Implemented PageController for homepage and page display, integrated navigation and footer components, and established dark mode functionality. Enhanced CSS for custom scrollbar and smooth scrolling. Added SVG logos for branding. Updated routes for page handling. 2025-10-01 02:21:31 -03:00
Ümit Tunç ac4038db82 Initialize Laravel project with essential configuration files and structure. Added .editorconfig, .env.example, .gitattributes, .gitignore, .htaccess, and various Laravel framework files including routes, controllers, models, and views. Set up basic testing structure with example tests. Included necessary assets for frontend development with Tailwind CSS and Vite integration. 2025-09-27 12:49:10 -03:00