Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: is_unique issue on update
Post: RE: is_unique issue on update

at the end I've find my issue. the reference {id} to check against is_unique criteria must be actively passed to the $data array. I wasn't passing it into the $data array because my update function h...
13,981 Views
17 Replies
04-10-2022, 03:04 AM
Mano
    Thread: is_unique issue on update
Post: RE: is_unique issue on update

ikesela Wrote: (04-01-2022, 09:24 AM) -- oneloop Wrote: (01-20-2022, 01:40 AM) -- andre.tannus Wrote: (03-26-2021, 07:05 AM) -- is_unique allows you to check directly against the database to ensure...
13,981 Views
17 Replies
04-08-2022, 07:18 AM
Mano
    Thread: is_unique issue on update
Post: RE: is_unique issue on update

Actually I'm getting similar issue...validation works partially or not as intended... I've a form with two fields. If I change both fields, the validation is ok. If I change only one field, validatio...
13,981 Views
17 Replies
04-01-2022, 08:56 AM
Mano
    Thread: setLocale not working as I intended?
Post: RE: setLocale not working as I intended?

kenjis Wrote: (03-03-2022, 06:12 PM) -- It is wired, because Code: -- Language::setLocale() -- is a just setter. https://github.com/codeigniter4/CodeIgniter4/blob/fb4707e2be4796352d92ef72f91e419...
2,436 Views
4 Replies
03-04-2022, 03:12 AM
Mano
    Thread: setLocale not working as I intended?
Post: RE: setLocale not working as I intended?

InsiteFX Wrote: (03-04-2022, 01:39 AM) -- Did you set this? PHP Code: -- public $supportedLocales = ['en']; -- -- yep PHP Code: -- public $supportedLocales = ['it','en','bs']; --
2,436 Views
4 Replies
03-04-2022, 03:11 AM
Mano
    Thread: setLocale not working as I intended?
Post: setLocale not working as I intended?

I'm trying to make a multilingual website. I've looked at various tutorials and websites but none is giving me the advice I needed. I've been able to set the localization working with the auto-detect...
2,436 Views
4 Replies
03-03-2022, 10:20 AM
Mano
    Thread: How to create pagination on CI4
Post: RE: How to create pagination on CI4

Actually the solution is really simple. In your Model, if you have a function that fetches data with specific query, instead of ending it with ->findAll(), you finish it with ->paginate('# of pages',o...
10,538 Views
15 Replies
09-17-2021, 05:29 PM
Mano
    Thread: Validation div always appears in view even if empty
Post: Validation div always appears in view even if empt...

Hi, I'm quite new to CodeIgniter and website development in general. I'm following various tutorials and examples as well the official documentation, however I'm having some difficulties with displa...
1,086 Views
1 Replies
08-26-2021, 05:33 AM
Mano

Theme © iAndrew 2016 - Forum software by © MyBB