Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Remove blank line when render view in CI4
Post: RE: Remove blank line when render view in CI4

Thanks you all for you help, i solved the problem,  I tried you guys solution but it isn't worked! i shared my solution here in case that someone may face the same problem First in the controller ...
425 Views
5 Replies
01-25-2024, 08:22 PM
tmtuan
    Thread: Remove blank line when render view in CI4
Post: Remove blank line when render view in CI4

Hi, i have a problem with the view render, it always render a blank line at the top of the html file, how can i remove that? https://i.imgur.com/OLGXgxX.jpg in my source code i tried with the vi...
425 Views
5 Replies
01-24-2024, 08:50 PM
tmtuan
    Thread: Entity loading problem
Post: Entity loading problem

hi all, i'm working on a project with CI4 recently, i really love CI4, but i discover some problem with the entity class, it's not a big deal if your data is not big, but it will comsume a lot of RAM ...
1,240 Views
1 Replies
05-10-2021, 06:07 AM
tmtuan
    Thread: Code Igniter is the best app to learn about websites
Post: RE: Code Igniter is the best app to learn about we...

Absolutely, CI is easy to learn, fast and lightweight. I use CI3 from 3 year ago and now with CI4 i really love it, check out this website https://truyenconect.com/ it build on CI3 and i'm updating it...
55,868 Views
39 Replies
05-04-2021, 08:47 PM
tmtuan
    Thread: CodeIgniter v4.0.5 and v4.1.0 released
Post: RE: CodeIgniter v4.0.5 and v4.1.0 released

thanks you CI team, i love your work
34,775 Views
43 Replies
01-31-2021, 09:42 PM
tmtuan
    Thread: edit table and add new index key with forge
Post: RE: edit table and add new index key with forge

includebeer Wrote: (12-27-2020, 08:18 AM) -- According to the user guide (http://codeigniter.com/user_guide/dbmgmt/forge.html#addKey) it looks like it’s only possible when creating a table. Quote: ...
1,559 Views
2 Replies
12-27-2020, 08:04 PM
tmtuan
    Thread: edit table and add new index key with forge
Post: edit table and add new index key with forge

Hi, i'm using CI4 and db migration, when i create the table i can create the index at the same time, it worked perfectly, but when i try to edit the table and try to create the index with forge, it...
1,559 Views
2 Replies
12-26-2020, 09:09 AM
tmtuan
    Thread: composer require get error in centos 7
Post: RE: composer require get error in centos 7

captain-sensible Wrote: (10-29-2020, 09:33 AM) -- so just to clarify your running composer on live server ? For development on my Linux PC , i'm using apache . I set up my normal user to join ap...
4,200 Views
6 Replies
10-29-2020, 06:54 PM
tmtuan
    Thread: CI4 and wp in shared hosting
Post: RE: CI4 and wp in shared hosting

captain-sensible Wrote: (10-29-2020, 02:37 AM) -- tmtuan Wrote: (10-29-2020, 01:52 AM) -- sure, if you're using the shared hosting, and uploaded the wordpress on public_html folder, then you can cre...
3,976 Views
6 Replies
10-29-2020, 03:32 AM
tmtuan
    Thread: CI4 and wp in shared hosting
Post: RE: CI4 and wp in shared hosting

sure, if you're using the shared hosting, and uploaded the wordpress on public_html folder, then you can create a sub folder in it for CI4. But we need to modify the index.php file, you have to move ...
3,976 Views
6 Replies
10-29-2020, 01:52 AM
tmtuan
    Thread: composer require get error in centos 7
Post: composer require get error in centos 7

hi all. i have my project in CI4 working ok in my VPS (centos 7). Recently, i'm trying to emplement new report funciton, in that function, i need to use PHPSpreadsheet to export data to excel ( htt...
4,200 Views
6 Replies
10-29-2020, 01:42 AM
tmtuan
    Thread: Entity class not working on 2 module
Post: RE: Entity class not working on 2 module

InsiteFX Wrote: (10-17-2020, 04:18 AM) -- Then I it looks like you may have found a bug in the Entities, I would file an issue on GitHub for it. -- i also think my Entities have problem, so i double...
4,030 Views
8 Replies
10-17-2020, 04:45 AM
tmtuan
    Thread: Entity class not working on 2 module
Post: RE: Entity class not working on 2 module

InsiteFX Wrote: (10-16-2020, 07:46 PM) -- To me it looks like your name space is off because your Modules folder is under the app folder. PHP Code: -- namespace Modules\Site\Models; // should ...
4,030 Views
8 Replies
10-16-2020, 09:28 PM
tmtuan
    Thread: Entity class not working on 2 module
Post: RE: Entity class not working on 2 module

InsiteFX Wrote: (10-16-2020, 11:19 AM) -- Our you defining the use clause like I showed? If the Entity is in the acp then the use clause should be like below. Site/Post controller use app/Modu...
4,030 Views
8 Replies
10-16-2020, 07:39 PM
tmtuan
    Thread: Entity class not working on 2 module
Post: RE: Entity class not working on 2 module

InsiteFX Wrote: (10-15-2020, 11:27 PM) -- Your not giving enough information like what is site a module? If your calling a Site Module then you need to tell it where the Entity is. use app/Modu...
4,030 Views
8 Replies
10-16-2020, 12:06 AM
tmtuan
    Thread: Entity class not working on 2 module
Post: Entity class not working on 2 module

hi all, i recently implement entity to my project, i successfull setup it to work with the backend module, but when i call that model in the frontend module, it does not return an entity object, i ...
4,030 Views
8 Replies
10-15-2020, 09:00 PM
tmtuan
    Thread: CI4 Project not working in Goddady VPS server
Post: RE: CI4 Project not working in Goddady VPS server

i recently have the same problem when i deploy my new project on vultr vps, my client's server instal centos 7, nginx and have php intl extention enable. does anyone have the same problem?
2,042 Views
2 Replies
10-15-2020, 08:41 PM
tmtuan
    Thread: Best practice for date in entity
Post: RE: Best practice for date in entity

in CI4 they have the Time class, try to use this use CodeIgniter\I18n\Time; then you can format the form date to mysql datetime before save it to DB
1,517 Views
2 Replies
10-12-2020, 07:24 PM
tmtuan
    Thread: route filters does not work
Post: RE: route filters does not work

ojmichael Wrote: (10-11-2020, 10:36 PM) -- That seems insane.. What happens if you do something like this? PHP Code: -- 'myfilter' => ['before' => ['newblog', 'editBlogs', 'removeBlog']], //et...
2,892 Views
5 Replies
10-12-2020, 07:20 PM
tmtuan
    Thread: route filters does not work
Post: route filters does not work

Hi, i'm using CI 4.0.4 for my project, i'm working on permission check with routes and filter in it, but it seem to be not woking right. My code look like this: - In App/Filter i declare an filter al...
2,892 Views
5 Replies
10-11-2020, 04:36 AM
tmtuan

Theme © iAndrew 2016 - Forum software by © MyBB