Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Does CI have a way to reuse a form like Symfony?
Post: Does CI have a way to reuse a form like Symfony?

I've used Symfony in the past and that has some functionality where a form can be defined as an object and then that form object can be reused. That's great because it means you only need to create a ...
208 Views
1 Replies
06-11-2021, 08:22 AM
Polymorphism
    Thread: Models insert() and save() methods return "unknown error" but the query builder works
Post: Models insert() and save() methods return "unknown...

I'm trying to get user creation functionality working on a signup page. When the form is submitted I use either Code: -- $user->insert($data) -- or Code: -- $user->save($data) -- . When I call Co...
263 Views
1 Replies
06-10-2021, 08:24 AM
Polymorphism
    Thread: The 'matches' validation rule fails even though I'm sure its correct
Post: RE: The 'matches' validation rule fails even thoug...

InsiteFX Wrote: (06-09-2021, 03:34 AM) -- I think it has to do with the hyphen - sign in the rule name. PHP Code: -- 'password-confirm' => 'required|matches[password]' // change to this in all y...
414 Views
6 Replies
06-09-2021, 05:05 AM
Polymorphism
    Thread: The 'matches' validation rule fails even though I'm sure its correct
Post: The 'matches' validation rule fails even though I'...

I'm building a simple signup form that has a password confirmation field and it uses the 'matches' validation rule. I can't get it to return true though even though I can var_dump the values and see t...
414 Views
6 Replies
06-09-2021, 01:28 AM
Polymorphism
    Thread: Can named routes be auto generated for restful routes created with $route->resource()
Post: Can named routes be auto generated for restful rou...

I'm currently testing out CI4 and I wanted to know if there is a way to generate named routes when creating restful routes. Here is an example: PHP Code: -- // Calling this: $routes->resource(...
298 Views
1 Replies
04-26-2021, 04:18 AM
Polymorphism
    Thread: Custom validation errors aren't showing but the default errors are
Post: Custom validation errors aren't showing but the de...

I'm trying to get the custom validation error messages to show up on my form. I have defined the error messages inside the $validationMessage array of my model class 'Post' and it seems that the de...
222 Views
0 Replies
08-20-2020, 06:15 AM
Polymorphism
    Thread: How do I show my custom validation error messages? (And other questions)
Post: RE: How do I show my custom validation error messa...

InsiteFX Wrote: (08-14-2020, 09:05 AM) -- SEE: CodeIgniter 4 User Guide - Working With Errors (https://codeigniter.com/user_guide/libraries/validation.html#working-with-errors) For contributing ...
736 Views
2 Replies
08-20-2020, 04:58 AM
Polymorphism
    Thread: Help needed for CI v3
Post: RE: Help needed for CI v3

kilishan Wrote: (06-25-2020, 06:54 AM) -- As you all know, we are a community ran by volunteers. Our intent has always been to keep version 3 going for a while, but that takes people and time. narf h...
30,120 Views
24 Replies
08-14-2020, 08:19 AM
Polymorphism
    Thread: How do I show my custom validation error messages? (And other questions)
Post: How do I show my custom validation error messages?...

I'm trying to make a basic CRUD system. I have a PostsController class: Code: --
736 Views
2 Replies
08-14-2020, 08:14 AM
Polymorphism
    Thread: How do you insert data into multiple different tables at a time?
Post: RE: How do you insert data into multiple different...

Thank you so much for helping me out with this. It actually seems quite simple. I have a tendency to make things seem harder than they actually are!
1,004 Views
3 Replies
08-12-2020, 06:49 AM
Polymorphism
    Thread: How do you insert data into multiple different tables at a time?
Post: How do you insert data into multiple different tab...

I am getting my head around CodeIgniter and SQL at the same time and I am currently wondering how do I add data (or indeed, search for data) that is stored in multiple tables? For example, if I had...
1,004 Views
3 Replies
08-12-2020, 05:28 AM
Polymorphism
    Thread: CLI generators
Post: RE: CLI generators

Anees Khan Wrote: (08-09-2020, 04:32 AM) -- hi, please add feature in cli to generate controllers,models,libraries,helper files just like Laravel Artisan i mean just like php artisan make:contr...
2,817 Views
8 Replies
08-10-2020, 03:32 AM
Polymorphism
    Thread: Spark 'Make' command like Symfony Maker Bundle
Post: Spark 'Make' command like Symfony Maker Bundle

I have recently been checking out CI4 and when using it I thought it would be a really nice feature for Spark to be able to say something like: Code: -- php spark make controller PostController -- ...
815 Views
1 Replies
06-29-2020, 03:17 AM
Polymorphism
    Thread: The future of Codeigniter
Post: RE: The future of Codeigniter

@Davcon Quote: -- I certainly don't want to be accused of advertising Trongate in here -- Quote: -- I'm waiting and I have 5,000 Codeigniter developers in my back pocket -- Hmmm. ...
15,202 Views
50 Replies
06-24-2020, 07:52 AM
Polymorphism
    Thread: The future of Codeigniter
Post: RE: The future of Codeigniter

Quote: -- So, step aside - you arrogant little parasite - and make way for the heavyweights. -- David, I have been following your videos on Youtube for around two years now and I think you have...
15,202 Views
50 Replies
06-24-2020, 05:01 AM
Polymorphism

Theme © iAndrew 2016 - Forum software by © MyBB