Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Way to include partial file on layout file
Post: RE: Way to include partial file on layout file

Now I get it.  Thank you.
5,504 Views
4 Replies
01-29-2022, 11:35 PM
dwlamb
    Thread: Way to include partial file on layout file
Post: RE: Way to include partial file on layout file

iRedds Wrote: (01-29-2022, 06:49 PM) -- -- In my original post, how am I not relative to the Views directory? Code: -- Views |>layout   >partials    -head.php   -master.php -- From Vie...
5,504 Views
4 Replies
01-29-2022, 08:52 PM
dwlamb
    Thread: Way to include partial file on layout file
Post: Way to include partial file on layout file

How does one include a partial file on a layout file? I've read and tried tutorials on Views using $this->renderSection and $this->include. It seems to me that $this->include can only be used on vi...
5,504 Views
4 Replies
01-29-2022, 05:42 PM
dwlamb
    Thread: Validate input of two possible arrays
Post: Validate input of two possible arrays

The code below depicts a form for which I am trying to create validation rules.  The form is for adding or removing users from a group.  PHP Code: --             Add to group.  Hold Ctrl-key and c...
1,689 Views
1 Replies
01-28-2020, 03:32 PM
dwlamb
    Thread: Custom form validation callback error message not working right
Post: RE: Custom form validation callback error message...

Yes, indeed I have. Thanks for pointing that out. It is fixed and now working properly.
4,575 Views
2 Replies
01-28-2020, 08:22 AM
dwlamb
    Thread: Custom form validation callback error message not working right
Post: Custom form validation callback error message not...

Validating a form, I have set-up a callback on a validation rule.  The validation is working properly but for reasons not understood Codeigniter is not returning the error message set in the callback ...
4,575 Views
2 Replies
01-27-2020, 10:26 PM
dwlamb
    Thread: VS code intelephense add-in
Post: RE: VS code intelephense add-in

The add-on I am looking for help with is intelephense (https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client&ssr=false#overview) not intellisense. I am looking def...
8,900 Views
4 Replies
01-11-2020, 05:39 PM
dwlamb
    Thread: VS code intelephense add-in
Post: RE: VS code intelephense add-in

php_rocs Wrote: (01-09-2020, 07:14 AM) -- @dwlamb, Have you read the complete instructions?  Have you tried finding video's about it?  Have you contacted the author/creator? -- Yes. Yes. I thoug...
8,900 Views
4 Replies
01-11-2020, 09:35 AM
dwlamb
    Thread: VS code intelephense add-in
Post: VS code intelephense add-in

I am new to using VS Code as an editor.  I installed the plug-in intelephense.  How does one define Codeigniter functions like`redirect()` `validation_errors()`, etc. so they don't come up as an error...
8,900 Views
4 Replies
01-08-2020, 04:16 PM
dwlamb
    Thread: csrf token and cookie
Post: csrf token and cookie

I am having a challenge implementing csrf protection on two projects based on CI 3.x.  As far as I know, my code is not unconventional.  Submission of any form results in: PHP Code: -- An Error Wa...
4,372 Views
1 Replies
02-15-2018, 02:16 PM
dwlamb
    Thread: crsf and ion_auth reset password
Post: RE: crsf and ion_auth reset password

dave friend Wrote: (02-08-2018, 11:02 AM) -- The error: "The action you have requested is not allowed." might be because you either 1) Did not use form_open() in your view or 2) Did not add a hidde...
9,539 Views
8 Replies
02-12-2018, 04:20 PM
dwlamb
    Thread: crsf and ion_auth reset password
Post: RE: crsf and ion_auth reset password

dave friend Wrote: (02-08-2018, 08:11 AM) -- I suspect that session and or cookie configs are wrong. Care to share those config settings? -- Researching this further, there are some threads that me...
9,539 Views
8 Replies
02-08-2018, 10:27 AM
dwlamb
    Thread: crsf and ion_auth reset password
Post: RE: crsf and ion_auth reset password

ChicagoPhil Wrote: (02-08-2018, 12:43 AM) -- This is copied from the user guide. Perhaps your form is missing this post data? Code: -- $csrf = array(        'name' => $this->security->get_csr...
9,539 Views
8 Replies
02-08-2018, 08:10 AM
dwlamb
    Thread: crsf and ion_auth reset password
Post: RE: crsf and ion_auth reset password

ChicagoPhil Wrote: (02-07-2018, 02:02 PM) -- Are you using the forms that came in ion auth? I'm still thinking of what is going wrong here but are you sure the problem stems from the controller? -- ...
9,539 Views
8 Replies
02-07-2018, 10:43 PM
dwlamb
    Thread: crsf and ion_auth reset password
Post: crsf and ion_auth reset password

I am having a challenge with the csrf token for resetting a password in ion_auth.  I have read other posts here and on other sites about ion_auth & csrf. In a nutshell, it seems the csrf data store...
9,539 Views
8 Replies
02-07-2018, 01:29 PM
dwlamb
    Thread: Form validation returning FALSE
Post: RE: Form validation returning FALSE

dave friend Wrote: (10-15-2017, 06:01 PM) -- Something else is at play here. -- Agreed.  I am at a loss to explain how CI is arriving to this state.
17,413 Views
11 Replies
10-15-2017, 06:45 PM
dwlamb
    Thread: Form validation returning FALSE
Post: RE: Form validation returning FALSE

dave friend Wrote: (10-15-2017, 11:46 AM) -- You have just confirmed that "email" is set and not empty in the $_POST array, but $this->CI->input->method() !== 'post' in set_rules()? That does not mak...
17,413 Views
11 Replies
10-15-2017, 01:06 PM
dwlamb
    Thread: Form validation returning FALSE
Post: RE: Form validation returning FALSE

I discovered why FALSE is being returned but am at a loss to explain CI's state at the time my application seeks to validate the email address. In core/Form_validation.php @ line 167 we have `publi...
17,413 Views
11 Replies
10-15-2017, 10:23 AM
dwlamb
    Thread: Form validation returning FALSE
Post: Form validation returning FALSE

I am undertaking a migration of a project from CI 2.2.x to 3.1.6 and am stuck on validation of an e-mail address on a password reset form. Below is my code.  This works perfectly in 2.2.x but valid...
17,413 Views
11 Replies
10-14-2017, 12:05 PM
dwlamb
    Thread: CI Session being destroyed
Post: RE: CI Session being destroyed

This problem is solved.  After further research I found a very good article for abandoning CodeIgniter session in favour of PHP sessions using a simple library: https://www.moreofless.co.uk/using-nati...
8,389 Views
2 Replies
05-16-2015, 11:52 AM
dwlamb

Theme © iAndrew 2016 - Forum software by © MyBB