Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Request for Soft Delete to not touch or change the updatedField
Post: RE: Request for Soft Delete to not touch or change...

I finally use custome base model which can solve this case. PHP Code: -- protected function cbBeforeInsert(array $data) { unset($data['data'][$this->updatedField]); // to remove cha...
1,137 Views
1 Replies
05-30-2023, 10:34 AM
jinbatsu
    Thread: Request for Soft Delete to not touch or change the updatedField
Post: Request for Soft Delete to not touch or change the...

Currently I'm seeing that while deleting with soft delete, it also change the updatedField date. So the actual updatedField date is replaced by Soft Delete. /system/Model.php line: 449-551 PHP ...
1,137 Views
1 Replies
05-29-2023, 05:33 PM
jinbatsu
    Thread: CI4 - Installation Location FOLDER example
Post: RE: CI4 - Installation Location FOLDER example

Can you upload a php script like this name it test.php, and see what printed out in browser? PHP Code: --
7,736 Views
6 Replies
08-26-2020, 05:18 PM
jinbatsu
    Thread: How To make Seeder in fake data ?
Post: RE: How To make Seeder in fake data ?

For seeding, I think IMO we do not actually need a Model, just use it like this sample: PHP Code: --
4,366 Views
1 Replies
08-22-2020, 03:48 PM
jinbatsu
    Thread: CI4 use model's method in view
Post: RE: CI4 use model's method in view

pippuccio76 Wrote: (06-22-2020, 01:20 PM) -- NO , how can i get the culumn of foreign key of 100 recordĀ  for example i have i table user: -name -surname -id_club and a table club -id -name When ...
18,953 Views
11 Replies
08-21-2020, 09:25 AM
jinbatsu
    Thread: CI4 - Installation Location FOLDER example
Post: RE: CI4 - Installation Location FOLDER example

Chris78 Wrote: (08-20-2020, 08:00 AM) -- In my host, there's the root directory in which I'm not allowed to upload files. -- We should actually not touching anything outside from our username folder...
7,736 Views
6 Replies
08-20-2020, 03:55 PM
jinbatsu
    Thread: Remove Public from URL
Post: RE: Remove Public from URL

I use also MAMP, I actually point my docroot to add an additional folder public, so that all non-public folder and files are outside docroot and all in one folder structure. For shared hosting, yes w...
9,880 Views
5 Replies
08-19-2020, 01:24 PM
jinbatsu
    Thread: CI4 - Installation Location FOLDER example
Post: CI4 - Installation Location FOLDER example

I'm seeing so many people did not understand what public folder means. Default Folder Structure from CI4/app/ /public/ /system/ /writeable/ /.env Localhost Development What we should implement ...
7,736 Views
6 Replies
08-19-2020, 12:58 PM
jinbatsu
    Thread: Error FORBIDDEN when inserting HTML Syntax [SOLVED: Upgrade CI Version]
Post: RE: Error FORBIDDEN when inserting HTML Syntax

This is not Codeigniter configuration related. It is related to hosting server configuration. You can overide using .htaccess : Code: -- SecFilterEngine Off SecFilterScanPOST Off -- I...
10,910 Views
5 Replies
10-09-2015, 04:31 AM
jinbatsu
    Thread: CodeIgniter 3.0.2 Released
Post: RE: CodeIgniter 3.0.2 Released

Upgrading from 3.0.1 to 3.0.2 For my small app (login and crud). Using additional: - HMVC Modular System - Session using Database Smooth.. successfull. Thank You Reference Upgrading: http:/...
35,085 Views
7 Replies
10-09-2015, 04:08 AM
jinbatsu
    Thread: Form Validation is_unique issue
Post: RE: Form Validation is_unique issue

I have the same problem too here, using HMVC. So if we remove using requiring by HMVC setup: MY_Form_validation file + $this->form_validation->CI =& $this. We cannot use custom validation callback, is...
8,645 Views
5 Replies
10-06-2015, 10:09 PM
jinbatsu
    Thread: Loading Models/Libraries prints /
Post: RE: Loading Models/Libraries prints /

Can you give one example?
2,575 Views
1 Replies
10-02-2015, 07:14 PM
jinbatsu
    Thread: CI + ajax
Post: RE: CI + ajax

It is possible. TS is asking create Modal, not asking get from Model. You can use it in view like this: HTML and JS: PHP Code: -- Launch Demo Modal × Confirmati...
6,043 Views
0 Replies
03-13-2015, 07:12 PM
jinbatsu
    Thread: Problem with order loading views
Post: RE: Problem with order loading views

your code in pastebin is not exist anymore, can you paste it here?
5,225 Views
0 Replies
02-14-2015, 05:56 AM
jinbatsu

Theme © iAndrew 2016 - Forum software by © MyBB