![]() |
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
Learning Codeigniter
Look for whitespace before or after the html opening and closing tags.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(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
Learning Codeigniter
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. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
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
Learning Codeigniter
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?
Learning Codeigniter
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. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |