Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Expenses - pet project for beginners
#3

1. The main.js and main.css files are always accessible from browser, unlike bootstrap (copied from /vendor/).
I did not complicate it - it is possible to move the frontend to a separate folder (for React, SCSS). Then it was possible to create a Publisher.
How did you plan to generate these files?

2.
See https://github.com/neznaika0/codeigniter...toasts.php

PHP Code:
// key "validation" for flashes
return redirect()->back()->withInput()->with('validation'$this->validator->getErrors());

// or Bootstrap keys 'success', 'danger', 'warning', 'info'
return redirect()->back()->with('success'lang('Expense.created')); 

Validation is shown first, then the others messages.
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply


Messages In This Thread
RE: CodeIgniter Expenses - pet project for beginners - by ozornick - 10-03-2023, 10:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB