Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: I need to know the recommended pdf manufacturer.
Post: RE: I need to know the recommended pdf manufacture...

I use mPDF, install via composer mpdf/mpdf - I also find their documentation quite good. Adding fonts is a breeze.
510 Views
5 Replies
06-23-2022, 02:20 AM
abatrans
    Thread: Intermittent Email Send Failure
Post: RE: Intermittent Email Send Failure

Extract of code that formats and send the emails PHP Code: --     $mode    = getOption( 'email_mode' );     $email  = Services::email();     $email->clear( TRUE ); /* Block of code creating h...
524 Views
3 Replies
04-26-2022, 02:06 AM
abatrans
    Thread: Intermittent Email Send Failure
Post: Intermittent Email Send Failure

I have a strange one where sending emails fails intermittently. The application uses CI4 email class connecting via SMTP (SSL on 465). I have written a mail queuing system that gets executed every 5 ...
524 Views
3 Replies
04-25-2022, 06:03 AM
abatrans
    Thread: CURLRequest returns 403 error / shell_exec returns 200
Post: CURLRequest returns 403 error / shell_exec returns...

Environment: PHP: 7.4.9 — CodeIgniter: 4.0.4 Any ideas on this problem: When I consume an API using the CURLRequest PHP Code: -- $curlClient = \Config\Services::curlrequest(); $response = ...
631 Views
1 Replies
11-15-2021, 12:41 AM
abatrans
    Thread: Slack link broken
Post: RE: Slack link broken

Same here, the sign-up link works.
1,659 Views
7 Replies
06-06-2021, 03:26 AM
abatrans
  Thumbs Up Thread: Slack link broken
Post: RE: Slack link broken

Excellent, thank you.
1,659 Views
7 Replies
06-05-2021, 12:53 AM
abatrans
    Thread: Slack link broken
Post: RE: Slack link broken

I am also getting no response when trying to register on the slack workspace.
1,659 Views
7 Replies
06-04-2021, 06:38 AM
abatrans
    Thread: Email smtp: mail not send - no error
Post: RE: Email smtp: mail not send - no error

Try to set $config['SMTPCrypto'] = 'tls'; Port 587 usually works with 'tls' whereas port 465 works with 'ssl'
2,159 Views
7 Replies
05-13-2021, 09:34 AM
abatrans
    Thread: Integrating dompdf
Post: RE: Integrating dompdf

I would suggest you look at MPDF (get it via composer. Very easy to setup and use. In my opinion the best pdf library as it support html and css.
5,586 Views
3 Replies
04-18-2021, 02:14 PM
abatrans
    Thread: Multiple Class Instances vs Function Call
Post: Multiple Class Instances vs Function Call

I have been pondering the wisdom of my methodology for a while and thought let's hear what the community has to say. I started this methodology using CI 3 and have now ported the principle to my CI4 a...
1,628 Views
2 Replies
11-27-2020, 10:02 AM
abatrans
    Thread: Bookkeeping CRUD app
Post: RE: Bookkeeping CRUD app

@Natanchikk - If you use datatables to display your data and you have large volumes of data, I suggest you look into using datatables' server-sided processing https://datatables.net/manual/server-side...
5,091 Views
5 Replies
09-25-2020, 03:31 AM
abatrans
    Thread: CodeIgniter 4 developers in South Africa
Post: RE: CodeIgniter 4 developers in South Africa

I have recently joined a South African Developers Slack group and created a CodeIgniter Channel. Please feel free to sign up as well https://zatech.co.za/
2,566 Views
6 Replies
09-06-2020, 06:04 AM
abatrans
    Thread: CodeIgniter 4 developers in South Africa
Post: RE: CodeIgniter 4 developers in South Africa

Thanks guys, no i don't feel alone anymore.
2,566 Views
6 Replies
09-05-2020, 01:21 PM
abatrans
    Thread: CodeIgniter 4 developers in South Africa
Post: RE: CodeIgniter 4 developers in South Africa

Interesting, 87 views and not one comment or contact. Surely I am not the only one in South Africa.
2,566 Views
6 Replies
08-19-2020, 06:39 AM
abatrans
    Thread: CodeIgniter 4 developers in South Africa
Post: CodeIgniter 4 developers in South Africa

I hope this is the right place to ask. I am formulating a disaster recovery plan for our development house as I was asked the question by a client "What do we do if something happens to you?". With...
2,566 Views
6 Replies
08-17-2020, 02:30 PM
abatrans
    Thread: How to implement Server Side DataTable in CI4
Post: RE: How to implement Server Side DataTable in CI4

Try to remove the (:any) from the routing statement Code: -- $routes->add('/product-code/showProductCodes(:any)', 'Code8ProductCode::showProductCodes'); -- change to: Code: -- $routes->add('/p...
4,849 Views
5 Replies
08-02-2020, 01:45 PM
abatrans
    Thread: New vid: 3 New Features in CI 4.0.4
Post: RE: New vid: 3 New Features in CI 4.0.4

Watched the video, great work. These videos are really very helpful. Hope you can find the time to make more of them.
35,855 Views
17 Replies
07-18-2020, 03:25 AM
abatrans
    Thread: Can't load pdf with using Mpdf in Codeigniter 4
Post: RE: Can't load pdf with using Mpdf in Codeigniter ...

I have been using Mpdf in my CI 3 projects and tested it in CI 4.  The method I used was as below: I installed Mpdf via composer. Then I created my own helper function to create the Mpdf object....
8,368 Views
8 Replies
07-16-2020, 04:53 AM
abatrans
    Thread: Database Num_rows()?
Post: RE: Database Num_rows()?

If you are in  a CI4 model you can use the PHP Code: -- $this->countAll() -- function. Or if you used an instance of the base builder inside a model and you only want to count the rows that ma...
17,401 Views
11 Replies
03-02-2020, 01:04 PM
abatrans
    Thread: Model database Query
Post: RE: Model database Query

If you use CI4 model, simply set the protected variables for $table, $returnType etc. then create function in the model: PHP Code: -- public function give( $where=[] ) { return $this->wher...
1,276 Views
2 Replies
03-02-2020, 12:51 PM
abatrans

Theme © iAndrew 2016 - Forum software by © MyBB