is there anyone good with HTMX? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: is there anyone good with HTMX? (/showthread.php?tid=87254) |
is there anyone good with HTMX? - SubrataJ - 03-30-2023 So lately I have been trying to play with HTMX, for a fact I come across https://github.com/michalsn/codeigniter-htmx and I have tried their demo version as well. on this demo on hx-boost they are returning whole page along with header and footer, and it's still getting rendered perfectly, but in my case it's showing a blank page only. any help would be greatly appreciated. I am on urge of giving up on HTMX because of this. @michalsn RE: is there anyone good with HTMX? - InsiteFX - 03-30-2023 Look for whitespace before or after the html opening and closing tags. RE: is there anyone good with HTMX? - SubrataJ - 03-31-2023 (03-30-2023, 11:30 PM)InsiteFX Wrote: Look for whitespace before or after the html opening and closing tags. well I found whitespace before HTML opening and closing tag, but I can't run the app rn, I will update the status once I am back home. Thank you RE: is there anyone good with HTMX? - SubrataJ - 03-31-2023 (03-30-2023, 11:30 PM)InsiteFX Wrote: Look for whitespace before or after the html opening and closing tags. I have tried removing those spaces, but it's still not working, here's is a video of my problem. https://screenrec.com/share/pL6aCSITig RE: is there anyone good with HTMX? - InsiteFX - 03-31-2023 Turn on CodeIgniter's Debug Bar it will show you where your error is. Code: 1) root: edit the env file. by removing the semi-colon ; from it. RE: is there anyone good with HTMX? - SubrataJ - 04-01-2023 see the thing is I don't have any issues rendering the page, only white age is coming when using HTMX. https://screenrec.com/share/eX8SAmwNE2 RE: is there anyone good with HTMX? - SubrataJ - 04-01-2023 I got the error a script tag in the footer was causing this error, But I still would like to know if I want to push script tag or link tag to the header and footer, what would be the way to do it using HTMX? RE: is there anyone good with HTMX? - InsiteFX - 04-01-2023 Installing Htmx is a dependency-free, browser-oriented javascript library. This means that using it is as simple as adding a <script> tag to your document head. No need for complicated build steps or systems. |