Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: directory structure
Post: RE: directory structure

There's a definite destinction using Composer or a stand-alone installation as described here: https://codeigniter4.github.io/userguide/installation/installing_manual.html If you don't need the addi...
220 Views
6 Replies
04-15-2024, 12:20 PM
JustJohnQ
    Thread: Oauth SMTP authentication support?
Post: RE: Oauth SMTP authentication support?

Check: https://github.com/datamweb/shield-oauth
116 Views
2 Replies
04-09-2024, 03:57 AM
JustJohnQ
    Thread: Warning
Post: RE: Warning

A little more information would help.  Which PHP version? Which CI version? content of .htaccess if present...
164 Views
2 Replies
03-19-2024, 05:04 AM
JustJohnQ
    Thread: Full Logs text
Post: RE: Full Logs text

https://codeigniter4.github.io/userguide/database/helpers.html#db-getlastquery
223 Views
3 Replies
03-17-2024, 02:39 PM
JustJohnQ
    Thread: Change language dynamically CI 4.4.6
Post: RE: Change language dynamically CI 4.4.6

Sorry, My answer was incomplete. The default language is set in the initController function in the BaseController: PHP Code: -- $session = \Config\Services::session(); $language = \Config\Serv...
258 Views
4 Replies
03-13-2024, 09:00 AM
JustJohnQ
    Thread: Change language dynamically CI 4.4.6
Post: RE: Change language dynamically CI 4.4.6

I am using the following code: In the top navigation, I have a dropdown menu: Code: --     
258 Views
4 Replies
03-13-2024, 08:35 AM
JustJohnQ
    Thread: Cannot Retrieve the Correct Content
Post: RE: Cannot Retrieve the Correct Content

Without seeing any actual code, I can’t help no more. There are enough tools like dd() to focus on the problem.  Check the routing which doesn’t work again and see if it calls the right function in t...
478 Views
9 Replies
03-08-2024, 12:30 PM
JustJohnQ
    Thread: Cannot Retrieve the Correct Content
Post: RE: Cannot Retrieve the Correct Content

What does dd($data[‘page’]); show after calling fetch_page in your model?
478 Views
9 Replies
03-08-2024, 11:20 AM
JustJohnQ
    Thread: Cannot Retrieve the Correct Content
Post: RE: Cannot Retrieve the Correct Content

I am confused. From your controller you call: Code: -- $page = $this->PageModel->fetch_page($page_id); -- dd($page) returns 0, but print_r($page) has the correct object? Then you send $data['page...
478 Views
9 Replies
03-08-2024, 09:14 AM
JustJohnQ
    Thread: Cannot Retrieve the Correct Content
Post: RE: Cannot Retrieve the Correct Content

Are you saying that when the following is executed in your controller, the correct data is displayed: PHP Code: -- $page = $this->PageModel->fetch_page($page_id); echo dd($page); -- If that is th...
478 Views
9 Replies
03-08-2024, 07:19 AM
JustJohnQ
    Thread: Support for multiple .env file.
Post: RE: Support for multiple .env file.

In PHPStorm it is very easy to exclude a file to upload during synchronisation. More information can be found here: https://www.jetbrains.com/help/phpstorm/excluding-files-and-folders-from-deploymen...
2,679 Views
10 Replies
03-07-2024, 05:49 AM
JustJohnQ
    Thread: server-side DataTables Library for CodeIgniter4
Post: RE: server-side DataTables Library for CodeIgniter...

This may be the correct link to the documentation: https://codeigniter4-datatables.hermawan.dev/
11,161 Views
10 Replies
03-04-2024, 07:22 AM
JustJohnQ
    Thread: form POST not working
Post: RE: form POST not working

See: https://codeigniter4.github.io/userguide/general/urls.html#removing-the-index-php-file
441 Views
8 Replies
03-03-2024, 04:24 AM
JustJohnQ
    Thread: CI goes crazy with iframes
Post: RE: CI goes crazy with iframes

https://www.php.net/manual/en/function.get-browser.php All my tests were in Firefox btw
579 Views
10 Replies
02-29-2024, 09:33 AM
JustJohnQ
    Thread: TCPDF send to browser
Post: RE: TCPDF send to browser

Does $link_pdf have a pdf extension?
334 Views
3 Replies
02-29-2024, 09:23 AM
JustJohnQ
    Thread: Use HTML in error message
Post: RE: Use HTML in error message

I didn't test it with a validation language file, but in a regular language file. I am not sure if you have seen this: https://codeigniter4.github.io/userguide/libraries/validation.html#translation-...
387 Views
8 Replies
02-28-2024, 07:41 AM
JustJohnQ
    Thread: Use HTML in error message
Post: RE: Use HTML in error message

Try this, you might be lucky, haven't tested it myself: PHP Code: -- html_entity_decode($validation->showError('field')); --
387 Views
8 Replies
02-28-2024, 06:59 AM
JustJohnQ
    Thread: Use HTML in error message
Post: RE: Use HTML in error message

In my local CI 4.4.6 enviroment the following text is displayed with italic: 'bankDetails'  => 'These are the Bank details', Otherwise, try: echo html_entity_decode(lang('Dashboard.bankDetails'));
387 Views
8 Replies
02-28-2024, 03:47 AM
JustJohnQ
    Thread: CI goes crazy with iframes
Post: RE: CI goes crazy with iframes

Go back to the basics. Remove all references to a model and see if you can get the iframe to work with something like the code I provided. It pretty much looks like a typo somewhere but without full c...
579 Views
10 Replies
02-27-2024, 01:57 PM
JustJohnQ
    Thread: CI goes crazy with iframes
Post: RE: CI goes crazy with iframes

I tried my code on a local Codeigniter 3.1 site, still no problems. It displays just fine. I even tried calling the iframe as a sub-page with the following code: Code: --               ...
579 Views
10 Replies
02-27-2024, 08:01 AM
JustJohnQ

Theme © iAndrew 2016 - Forum software by © MyBB