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

@dgvirtual you can try following these instructions: https://michalsn.github.io/codeigniter-htmx/troubleshooting/ for BaseController. If that doesn't help, I'm afraid I don't have any better ideas to ...
8,775 Views
18 Replies
08-28-2023, 02:59 AM
michalsn
    Thread: CodeIgniter 4.3.3 debug bar conflicts with HTMX
Post: RE: CodeIgniter 4.3.3 debug bar conflicts with HTM...

You can use CodeIgniter-HTMX (https://github.com/michalsn/codeigniter-htmx). It makes Debug Bar available via "debugbar-link" response header. If you're rendering only fragments, not the whole page, ...
910 Views
3 Replies
06-05-2023, 06:45 AM
michalsn
    Thread: CodeIgniter 4.3.3 model - JOIN with LIKE and LIKEOR
Post: RE: CodeIgniter 4.3.3 model - JOIN with LIKE and L...

I would add dd((string)$this->getLastQuery()) to debug what query is actually produced. PHP Code: -- $result = $this->findAll(5); dd((string)$this->getLastQuery()) -- The default join is INNE...
554 Views
2 Replies
06-04-2023, 11:13 PM
michalsn
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

The "dirty" fix would be to add  Code: -- id="htmxErrorModalScript" -- to one of your HTML elements in the email template. There is no other configuration option at this time.
8,775 Views
18 Replies
02-04-2023, 09:02 AM
michalsn
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

@dgvirtual I'm not aware of anything you can do about it. The only option would be to subscribe to the repo changes and then merge them into your project after any significant update. At least up to m...
8,775 Views
18 Replies
01-23-2023, 12:01 AM
michalsn
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

@dgvirtual - please check these instructions: https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository The alternative would be to create your own composer package.
8,775 Views
18 Replies
01-20-2023, 08:11 AM
michalsn
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

dgvirtual Wrote: (01-15-2023, 03:22 AM) -- Looks like a great helper library. The search feature in the demo app, last tab, triggers an error for error handling demoing, I suppose? Is there any wa...
8,775 Views
18 Replies
01-15-2023, 03:40 AM
michalsn
    Thread: CodeIgniter HTMX
Post: CodeIgniter HTMX

CodeIgniter HTMX (https://github.com/michalsn/codeigniter-htmx) This is a helper library for HTMX (https://htmx.org). A set of methods for IncomingRequest, Response, and RedirectResponse classes to...
8,775 Views
18 Replies
01-14-2023, 06:37 AM
michalsn
    Thread: Laracasts for CodeIgniter
Post: RE: Laracasts for CodeIgniter

I think @kilishan is building some tutorials environment. You can check https://www.patreon.com/lonnieezell for details and a dedicated website https://learncodeigniter.net/ If I'm not wrong, he will...
1,057 Views
4 Replies
01-13-2023, 06:41 AM
michalsn
    Thread: SubQuery
Post: RE: SubQuery

This is how you can handle subqueries: https://www.codeigniter.com/user_guide/database/query_builder.html#subqueries
645 Views
2 Replies
01-10-2023, 11:50 AM
michalsn
    Thread: Class "Kint\Renderer\Renderer" not found
Post: RE: Class "Kint\Renderer\Renderer" not found

Please follow the upgrade instructions: https://www.codeigniter.com/user_guide/installation/upgrade_430.html#mandatory-file-changes
9,252 Views
3 Replies
01-10-2023, 11:45 AM
michalsn
    Thread: Model::update() is dangerous
Post: RE: Model::update() is dangerous

kenjis Wrote: (11-17-2022, 05:26 PM) -- I created another controller. I added the validation for id. But it is still vulnerable. https://github.com/kenjis/ci4-model-update-danger/blob/78b08c5bb1e...
6,332 Views
21 Replies
11-18-2022, 03:42 AM
michalsn
    Thread: Model::update() is dangerous
Post: RE: Model::update() is dangerous

kenjis Wrote: -- But have you guys ever forgotten to validate input values? -- Ok, this is hard to argue. This probably happened to everyone. kenjis Wrote: -- I can't think of a use case like t...
6,332 Views
21 Replies
11-17-2022, 09:12 AM
michalsn
    Thread: Model::update() is dangerous
Post: RE: Model::update() is dangerous

There is no good solution for this for now. Any change would be a BC break. Developers may use composite keys with the model. PHP Code: -- $model->where(['key1' => 'value1', 'key2' => 'value2'])-...
6,332 Views
21 Replies
11-16-2022, 10:54 AM
michalsn
    Thread: Error in using CURLRequest Class in case of GET type request
Post: RE: Error in using CURLRequest Class in case of GE...

I'm not sure what's going on with SSL, but you should get some information from the debug option (in your example, it's set incorrect). Try something like this: PHP Code: -- $response = $client->...
2,400 Views
5 Replies
10-12-2022, 01:06 PM
michalsn
    Thread: Book: CodeIgniter 4 Foundations
Post: RE: Book: CodeIgniter 4 Foundations

I highly recommend buying this book to anyone who wants to dig deeply into CodeIgniter 4. This is a great addition to the information contained in the user guide. You will learn all the basics, usin...
96,954 Views
66 Replies
09-17-2020, 06:55 AM
michalsn
    Thread: Testing: Database refresh and migrations
Post: RE: Testing: Database refresh and migrations

It would be a reasonable change, I like this idea. There is one thing I'm afraid though. People may start writing tests in such a way that they tests will depend on the result of other tests that h...
4,944 Views
8 Replies
07-04-2020, 06:53 AM
michalsn
    Thread: Spark 'Make' command like Symfony Maker Bundle
Post: RE: Spark 'Make' command like Symfony Maker Bundle

Take a look at this project: https://github.com/lonnieezell/vulcan
3,525 Views
2 Replies
06-29-2020, 10:25 AM
michalsn
    Thread: Minifier - asset minification and versioning library
Post: RE: Minifier - asset minification and versioning l...

@Inc33 - html minification is out of the scope for this package @ivantcholakov - no, only minification + combining and versioning is supported
16,705 Views
15 Replies
06-29-2020, 10:23 AM
michalsn
    Thread: Welcoming Michal Sniatala aboard
Post: RE: Welcoming Michal Sniatala aboard

Oh... I feel like Internet Explorer right now... I should notice this thread earlier. Thanks for the welcome everybody :)
15,912 Views
11 Replies
06-21-2020, 07:20 AM
michalsn

Theme © iAndrew 2016 - Forum software by © MyBB