CodeIgniter Forums
CodeIgniter HTMX - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7)
+--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13)
+--- Thread: CodeIgniter HTMX (/showthread.php?tid=86137)

Pages: 1 2


RE: CodeIgniter HTMX - dgvirtual - 02-04-2023

Ok, thanks. I guess it is not much of a problem in dev mode, except that potentially the email filters dislike javascript...


RE: CodeIgniter HTMX - kilishan - 02-04-2023

@michalsn Great demos! thanks for sharing that.


RE: CodeIgniter HTMX - SubrataJ - 04-01-2023

I would like to know if I want to push a script tag or link tag to the header or footer, what would be the way to do it using HTMX on hx-boost?


RE: CodeIgniter HTMX - InsiteFX - 04-02-2023

It states that they want the scripts in the <head> section.


RE: CodeIgniter HTMX - SubrataJ - 04-02-2023

(04-02-2023, 11:29 PM)InsiteFX Wrote: It states that they want the scripts in the <head> section.

okay, If I do not want to load all the third-party  js or CSS files, since the js or CSS links will vary upon what page I am loading, in that case,  what would be a proper way to do it? 

or do I have to load all the CSS and JS files while loading a page?


RE: CodeIgniter HTMX - InsiteFX - 04-04-2023

JS Script files should be loaded at the end of the html document just before the ending </body & </html> tags
unless the code is needed in the html document then it needs to be loaded in the <head> section.

Most of the time you can place the JS Scripts at the end of the html document for faster page loading.


RE: CodeIgniter HTMX - dgvirtual - 08-28-2023

@michalsn, is there any way to make vscode to recognize the codeigniter-htmx request and response methods? Annoying when it shows errors for htmx - specific methods.


RE: CodeIgniter HTMX - michalsn - 08-28-2023

@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 solve the problem.


RE: CodeIgniter HTMX - dgvirtual - 08-29-2023

(08-28-2023, 02:59 AM)michalsn Wrote: @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 solve the problem.
Thanks, this helped in vscode as well!