Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: View routes does not show in toolbar.
Post: View routes does not show in toolbar.

I'm using below code in Config/Routes.php PHP Code: -- $routes->view('about', 'pages/about'); -- and does not show in Toolbar under Routes tab. Is it normal?
261 Views
2 Replies
07-03-2023, 01:35 AM
nfaiz
    Thread: SHIELD - Table name
Post: RE: SHIELD - Table name

kenjis Wrote: (02-12-2023, 11:52 PM) -- See https://github.com/codeigniter4/shield/pull/633 -- Thank you @kenjis and @datamweb. Really appreciate it.
5,360 Views
9 Replies
02-13-2023, 01:34 AM
nfaiz
    Thread: SHIELD - Table name
Post: RE: SHIELD - Table name

kenjis Wrote: (01-07-2023, 01:32 AM) -- Yes, if you add the table property, the database migration also needs to use the values. And of course, if you change the property after initial setup, you al...
5,360 Views
9 Replies
01-09-2023, 09:17 PM
nfaiz
    Thread: SHIELD - Table name
Post: RE: SHIELD - Table name

datamweb Wrote: (08-02-2022, 06:10 PM) -- Hi, can you explain why two Auth packages should be used simultaneously on the same site? -- My suggestion Create constant for auth tables in Config/Aut...
5,360 Views
9 Replies
01-06-2023, 06:28 AM
nfaiz
    Thread: Transactions with Model
Post: RE: SOLVED Transactions with Model

RedWd Wrote: (11-27-2022, 01:37 AM) -- I found a solution. The code below: Code: -- $UserModel->db->transStart(); $UserModel->save($user); $ProfileModel->save($profile); $UserModel->d...
2,806 Views
8 Replies
11-27-2022, 08:05 AM
nfaiz
    Thread: SHIELD - Table name
Post: RE: SHIELD - Table name

Let's say some workplaces have policies and procedures for table names to follow a standard like ISO
5,360 Views
9 Replies
08-07-2022, 07:48 AM
nfaiz
    Thread: crud operations within datatables
Post: RE: crud operations within datatables

Ahmed Haroon Wrote: (06-30-2022, 04:01 AM) -- we are using Pik admin panel, and want to write a page which will contains only Datatable for CRUD operations, please help with a Link to step by step gu...
3,015 Views
9 Replies
07-04-2022, 06:50 PM
nfaiz
    Thread: SHIELD - Table name
Post: SHIELD - Table name

Perhaps Shield table name has been used for other project. Suggestion: Make the table name customizable like CodeIgniter Settings or Ion Auth
5,360 Views
9 Replies
06-30-2022, 07:17 PM
nfaiz
    Thread: How get null result if not found in Mysql
Post: RE: How get null result if not found in Mysql

SELECT * FROM tbl_order WHERE DATE(order_date) IN ('2021-01-01','2021-01-02','2021-01-03','2021-01-04','2021-01-05') OR order_date IS NULL GROUP BY DATE(order_date)
2,712 Views
6 Replies
01-13-2022, 02:01 AM
nfaiz
    Thread: Codeigniter 4 and Inertia JS
Post: RE: Codeigniter 4 and Inertia JS

No package release. Use dev-master or dev-main Code: -- composer require amirami/inertia-codeigniter-4:dev-master --
3,609 Views
1 Replies
11-22-2021, 09:16 AM
nfaiz
    Thread: mpdf class not fount error CI 4.1.5
Post: RE: mpdf class not fount error CI 4.1.5

Are you sure the installation is in ci4-mpdf directory?
8,646 Views
10 Replies
11-21-2021, 04:18 AM
nfaiz
    Thread: retrieving data from a database and re-retrieving from another database
Post: RE: retrieving data from a database and re-retriev...

Please avoid N+1 query (unless you have a different DBGroup connection)
2,873 Views
7 Replies
10-26-2021, 04:27 AM
nfaiz
    Thread: retrieving data from a database and re-retrieving from another database
Post: RE: retrieving data from a database and re-retriev...

Join table using SQL?
2,873 Views
7 Replies
10-25-2021, 07:26 AM
nfaiz
    Thread: insert/update null instead of blank (spaces) in ci4
Post: RE: insert/update null instead of blank (spaces) i...

Halim Wrote: (10-24-2021, 06:10 PM) -- Is there a better way to clean up the data before insert/update, what I mean by clean up is: if the posted value is blank (or composed of many spaces) then inse...
2,657 Views
1 Replies
10-25-2021, 05:56 AM
nfaiz
    Thread: How to activate debugging role wise?
Post: RE: How to activate debugging role wise?

sr13579 Wrote: (10-16-2021, 04:47 PM) -- For a live project how can I hide debugging feature for normal user? I just want to show it only for developers. Please give me a solution. -- app/Config...
2,081 Views
4 Replies
10-16-2021, 11:44 PM
nfaiz
    Thread: How to debug ajax requests?
Post: RE: How to debug ajax requests?

DrSiemer Wrote: (10-06-2021, 07:22 AM) -- Hi! New CI user here. Pretty happy with it so far, but the things that puzzles me is debugging failed ajax requests. So far I've been able to figure out w...
5,704 Views
4 Replies
10-09-2021, 08:55 PM
nfaiz
    Thread: convert sql
Post: RE: convert sql

Tajar_Dobro Wrote: (09-20-2021, 04:19 AM) -- Hi guys how can I convert the value of integer to text, example if it is 0 to display not paid and 1 to display paid On model //get chart public functi...
5,540 Views
5 Replies
09-20-2021, 05:44 AM
nfaiz
    Thread: Removing session data too quickly after updating to CI 4.1.3
Post: RE: Removing session data too quickly after updati...

ciddict Wrote: (09-04-2021, 09:15 PM) -- Can you please let me know where should I check? -- This (https://www.codeigniter.com/user_guide/libraries/sessions.html#session-preferences)?
3,140 Views
8 Replies
09-05-2021, 01:45 AM
nfaiz
    Thread: Unique customer
Post: RE: Unique customer

BFlokstra Wrote: (08-27-2021, 01:21 AM) -- I’m facing a small problem and hope CodeIgniter 4 has some build in way to handle this. I’m more then willing to write something myself, but rather use some...
1,575 Views
3 Replies
08-27-2021, 05:00 AM
nfaiz
    Thread: Ci4 orderBy Float Value
Post: RE: Ci4 orderBy Float Value

hieuhiti Wrote: (08-22-2021, 07:27 AM) -- Hi All, I have a little problem with sort values (Float type) from database mysql. I use -> orderBy("FieldFloat","desc"),  But incorrect result, Please helpm...
2,138 Views
4 Replies
08-22-2021, 08:26 PM
nfaiz

Theme © iAndrew 2016 - Forum software by © MyBB