Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Issue with validation
Post: RE: Issue with validation

Hi, With this info we can't help you. More info (code) is welkom.
snelledre CodeIgniter 4 Support 2 433 08-23-2020, 12:25 PM
    Thread: REST validationRules
Post: RE: REST validationRules

Best, Use "id" as primary key and Company_number leave as it is. But lookout change also you're migration or direct your database table. Then you can use is_unique[companies.company_number,id,{id}] ...
snelledre CodeIgniter 4 Support 2 541 06-16-2020, 05:23 AM
    Thread: Model validation field translation
Post: RE: Model validation field translation

Now i named the tables in the database in dutch, with this way i get the error messages all in dutch. But it's cleaner to name the tables in english and translate them in codeigniter to the dutch lang...
snelledre CodeIgniter 4 Support 1 526 06-12-2020, 12:52 PM
    Thread: Model validation field translation
Post: Model validation field translation

All, Is it possible to translate the field in model validation? In the controller it can with : Translation of message and validation labels To use translated strings from language files, we can si...
snelledre CodeIgniter 4 Support 1 526 06-12-2020, 04:56 AM
    Thread: Problem with validatiomessage
Post: Problem with validatiomessage

Hello, I have a problem with the validationmessage in the model. The validation works perfect but why can't i see the validationmessage from the model? Through this way i can my own message in Dutch ...
snelledre CodeIgniter 4 Support 0 641 01-13-2020, 11:23 AM
    Thread: How to display disallowed file type error in case of upload in Codeigniter 3?
Post: RE: How to display disallowed file type error in c...

Best, What i mean is when you have no errors you must past "uerrors" also to you're view but then empty "". But i can't see that because i can't see the full code off you're view and controller. What...
snelledre CodeIgniter 3.x 3 1,734 01-04-2020, 03:44 AM
    Thread: How to display disallowed file type error in case of upload in Codeigniter 3?
Post: RE: How to display disallowed file type error in c...

You don't load the data in the view. PHP Code:$this->load->view('dashboard/create-post', $data); See the tutorial in the documentation. And if there are no errors? What code ha...
snelledre CodeIgniter 3.x 3 1,734 01-04-2020, 12:19 AM
    Thread: Best way to share files among different CI projects, i.e. helpers, libraries
Post: RE: Best way to share files among different CI pro...

(12-29-2019, 07:27 PM)deltatangodt Wrote: I have 3 projects that will each be using a REST API library I customized based on the CI Rest API Library project. It has it's own helpers, models and Libr...
snelledre Best Practices 2 1,727 12-30-2019, 12:26 AM
    Thread: redirect with input
Post: RE: redirect with input

(12-10-2019, 09:04 AM)InsiteFX Wrote: PHP Code:return redirect()->back()->withInput()->with('errors', $this->validator->getErrors());  That is how Lonnie doe's it i...
snelledre CodeIgniter 4 Support 2 1,551 12-11-2019, 10:13 AM
    Thread: redirect with input
Post: redirect with input

Best, I have made an form with some input. When the validation is not ok then you can use PHP Code:return redirect()->back()->withInput(); And in the form you can use "old"as value so...
snelledre CodeIgniter 4 Support 2 1,551 12-09-2019, 01:53 PM
    Thread: Issues with migration
Post: RE: Issues with migration

Best, You forget to fill in what datatype 'create_at' is. Example from the documentation. PHP Code:$fields = [        'created_at' => ['type' =&g...
snelledre CodeIgniter 4 Support 1 1,020 11-18-2019, 09:39 AM
    Thread: Reference authentication library for CI4
Post: RE: Reference authentication library for CI4

Another good one is ion-auth. https://github.com/benedmunds/CodeIgnite...uth/tree/4
snelledre CodeIgniter 4 Addins 4 2,805 09-25-2019, 12:28 PM
    Thread: How to connect mssql data
Post: RE: How to connect mssql data

The mssql driver for Codeigniter 4 is not ready yet. See the documentation of Codeigniter4. So, use an other database for the time being or Codeigniter 3. Andre
snelledre CodeIgniter 4 Support 2 882 09-03-2019, 09:21 AM
    Thread: Bennefits AJAX request
Post: Bennefits AJAX request

All, What are the bennefits of a AJAX post request VS a post request through a normal controller ("old way"). And when use a AJAX post request en when the "normal controller" way. André
snelledre Lounge 1 1,016 09-02-2019, 11:29 AM
    Thread: Ion-auth 4 routes not working
Post: RE: Ion-auth 4 routes not working

I know I work because I have played with it last year and it works. Did you place the Ion-Auth directory in the root, so beside the public and the application directory? Follow this guide and I know ...
snelledre CodeIgniter 4 Addins 2 2,635 03-20-2019, 11:32 PM
    Thread: Microsoft sql server
Post: RE: Microsoft sql server

(02-01-2019, 07:30 AM)kilishan Wrote: Unfortunately no date at the moment. We won't have a chance to look at that until after 4 launches. Someone had a PR that was 80% complete at one point, but the...
snelledre CodeIgniter 4 Support 2 1,399 02-01-2019, 12:48 PM
    Thread: Microsoft sql server
Post: Microsoft sql server

All, Is there a date that Microsoft SQL driver is updated for Codeigniter 4? I need that for one project the other projects are Postgresql and that works perfectly. André
snelledre CodeIgniter 4 Support 2 1,399 02-01-2019, 05:31 AM
    Thread: Routing problem
Post: RE: Routing problem

(01-17-2019, 08:35 PM)kilishan Wrote: You can use method spoofing in forms, though it appears that's not documented. Bad me. I just opened an issue at Github to make sure that gets done. It would ...
snelledre CodeIgniter 4 Support 5 2,204 01-18-2019, 12:37 AM
    Thread: Routing problem
Post: RE: Routing problem

(01-17-2019, 08:30 AM)albertleao Wrote: Delete is not a valid method in HTML forms. Delete can be sent using XHR. HTML forms only support GET and POST Yes Yes now I now again in node.js they use met...
snelledre CodeIgniter 4 Support 5 2,204 01-17-2019, 10:35 AM
    Thread: Routing problem
Post: Routing problem

I have a problem with the routing that's mean the delete method. In the app/routes.php i have : PHP Code:$routes->resource('department');  The documentatie says: PHP Code:$routes->...
snelledre CodeIgniter 4 Support 5 2,204 01-17-2019, 06:37 AM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.