Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Modules in CI4 - Helpers and Constants
Post: RE: Modules in CI4 - Helpers and Constants

Thanks everyone! It is now working with below both options: ROOTPATH . 'mymodule/admin/Helpers/*.php', and '../mymodule/admin/Helpers/*.php' For some reason I believe that I used ROOTPATH ea...
754 Views
3 Replies
09-16-2023, 10:10 AM
encodedigital
    Thread: Modules in CI4 - Helpers and Constants
Post: Modules in CI4 - Helpers and Constants

Hi All, I am currently working on a project, where I am keeping all my code in a module. So my structure is as below: Code: -- -app -mymodule   -admin     -Config       -Constants.php     -Hel...
754 Views
3 Replies
09-14-2023, 08:58 AM
encodedigital
    Thread: Codeigniter 4 w/ Tailwind CSS
Post: RE: Codeigniter 4 w/ Tailwind CSS

Hi, I am successfully using Tailwind CSS in my CodeIgniter 4 project. If anyone still searching it, then I followed below steps: Step 1: In the CodeIgniter project folder, run below commands to inst...
7,547 Views
7 Replies
09-08-2023, 04:03 PM
encodedigital
    Thread: ninosBank backend built with CodeIgniter 4
Post: RE: ninosBank backend built with CodeIgniter 4

@"kenjis" - Done!
3,591 Views
5 Replies
01-09-2023, 05:14 AM
encodedigital
    Thread: ninosBank backend built with CodeIgniter 4
Post: RE: ninosBank backend built with CodeIgniter 4

hi @"captain-sensible" , We created app in Ionic Framework and used Codeigniter as backend (REST API). Thanks,
3,591 Views
5 Replies
01-05-2023, 05:28 AM
encodedigital
    Thread: ninosBank backend built with CodeIgniter 4
Post: ninosBank backend built with CodeIgniter 4

Hi Team, I just want to thanks CodeIgniter team for producing simple, performant and small footprint framework. I am founder of ninosBank app (available on AppStore and Google Play), and its server si...
3,591 Views
5 Replies
01-05-2023, 04:18 AM
encodedigital
    Thread: CORS policy on single URL
Post: RE: CORS policy on single URL

hi @"chakycool" , You can create a filter and in the "before" function of the filter. You can add below code: $response = Services::response(); $response->setHeader("Access-Control-Allow-Origin"...
2,761 Views
3 Replies
12-07-2022, 08:03 AM
encodedigital
    Thread: Optimize db query
Post: RE: Optimize db query

Hi, You can always write raw query to make one DB call. Create SQL query with required output (JOINs, UNIONS etc) and you can have one DB call. Please read below link on how to use raw queries https...
1,022 Views
2 Replies
10-20-2022, 02:27 AM
encodedigital
    Thread: $this->request->getVar('account_id') NULL for no reason
Post: $this->request->getVar('account_id') NULL for no r...

Hi All, I have created filter to check JWT token and then I am adding values to request, so that I can use in Controller. It is absolutely working fine on 5 routes, but somehow getVar is giving null ...
559 Views
0 Replies
10-19-2022, 10:02 AM
encodedigital
    Thread: Database Exception showing TRACE even in PROD
Post: RE: Database Exception showing TRACE even in PROD

It is working fine now. Something must been wrong with my env at that time. I restarted and now it is showing trace only when it is in development. Apologies guys for false alarm.
749 Views
2 Replies
10-17-2022, 03:19 AM
encodedigital
    Thread: Database Exception showing TRACE even in PROD
Post: Database Exception showing TRACE even in PROD

hi All, I deliberately turned off my MySQL to check how application (API) behaves, but I am seeing application trace even when I am in PRODUCTION model. I am using CodeIgniter 4 for API. Please see ...
749 Views
2 Replies
10-13-2022, 05:10 AM
encodedigital

Theme © iAndrew 2016 - Forum software by © MyBB