Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CI4 with Direct Admin
Post: RE: CI4 with Direct Admin

What is the front controller? Is this just a spark requirement? Thanks! Edit: found!
196 Views
2 Replies
03-23-2024, 03:47 AM
nneves
    Thread: CI4 with Direct Admin
Post: CI4 with Direct Admin

Hi How do I setup CI with a public folder name public_html? Direct Admin sets the root folder to public_html and I can't change it. Thanks [hr] Ok, I just setup CI and renamed the public to public_...
196 Views
2 Replies
03-23-2024, 12:50 AM
nneves
    Thread: What's the best way to limit pagination to 5 pages?
Post: What's the best way to limit pagination to 5 pages...

Hey I have a page where I use pagination, 20 records per page, but I would like to limit max to 5 pages / 100 records out of the thousands I have in the table. I've read the documentation but I ca...
788 Views
1 Replies
05-14-2022, 02:19 AM
nneves
    Thread: CSRF only in one page
Post: RE: CSRF only in one page

manager Wrote: (09-08-2021, 09:46 PM) -- nneves Wrote: (09-08-2021, 07:56 PM) -- Hi What's the best approach to use CSRF only in one page without using the Filter? I need to remove all cookies for...
2,144 Views
3 Replies
09-09-2021, 01:06 AM
nneves
    Thread: CSRF only in one page
Post: CSRF only in one page

Hi What's the best approach to use CSRF only in one page without using the Filter? I need to remove all cookies for cache propose. Thanks
2,144 Views
3 Replies
09-08-2021, 07:56 PM
nneves
    Thread: updated_at is not updating
Post: RE: updated_at is not updating

Yes, I've disable useTimestamps and just update the fields manually until a stable solution. Even so, there is an insert query that updates updated_at with useTimestamps = false.
8,018 Views
11 Replies
08-19-2021, 01:43 PM
nneves
    Thread: updated_at is not updating
Post: RE: updated_at is not updating

ikesela Wrote: (08-19-2021, 04:12 AM) -- this the problem, when you set to false, not working with updated_at (for auto update datetime). $builder->set('views', 'views+1', false); * this maybe ...
8,018 Views
11 Replies
08-19-2021, 05:25 AM
nneves
    Thread: updated_at is not updating
Post: RE: updated_at is not updating

Hi No, but does not change the behavior. In debug mode I can see that the insert query adds both created and updated dates, but when updating, the updated_at filed is not added. I've tested executin...
8,018 Views
11 Replies
08-19-2021, 02:21 AM
nneves
    Thread: updated_at is not updating
Post: updated_at is not updating

Hi In my model I have this settings and when I insert a record, both created_at and updated_at are updated Code: -- protected $table = 'strings'; protected $useSoftDeletes = true; protected $allowe...
8,018 Views
11 Replies
08-18-2021, 04:50 PM
nneves
    Thread: Form field name localization
Post: RE: Form field name localization

Just an update about this if anyone need it, the file name is translated with Validation Labels: https://codeigniter.com/user_guide/libraries/validation.html#translation-of-messages-and-validation-lab...
2,005 Views
3 Replies
08-18-2021, 05:08 AM
nneves
    Thread: Form field name localization
Post: RE: Form field name localization

Hi I already have all localization working, the only thing I can't find a way to do is the translation of the form field name. I don't find any reference in the documentation to do this. I'm us...
2,005 Views
3 Replies
08-14-2021, 01:54 AM
nneves
    Thread: Form field name localization
Post: Form field name localization

Hi How can I set the form field name localization to match the user language? The textarea form field name is "comment" and has a min length of 10 characters set in the validationRules Englis...
2,005 Views
3 Replies
08-13-2021, 03:39 AM
nneves
    Thread: Pass data to a partial inside a loop
Post: RE: Pass data to a partial inside a loop

Hi @Digital_Wolf Thanks for your feedback. The interaction works when everything is inside the main template and stop working when I place the variable inside a partial template. I think that l...
5,602 Views
6 Replies
06-22-2020, 01:32 AM
nneves
    Thread: Pass data to a partial inside a loop
Post: Pass data to a partial inside a loop

Hi This is the first time I'm using CI and I have a questiona about getting data inside a partial within a loop. On the controller I call the view with an array of data: PHP Code: -- return ...
5,602 Views
6 Replies
06-21-2020, 04:46 AM
nneves

Theme © iAndrew 2016 - Forum software by © MyBB