Hey there, I am new to Kirby and try to include a complete HTML/JS Application into a existing Kirby CMS.
In Detail I want to include this: http://www.mat-o-wahl.de/ tool into the CMS.
Now I wanted to include it into a Kirby snippet and tried it via the php-‘include’ and directly while I tried different places for the files (in the directories: snippets/site, assets and plugins).
With the include it worked but all the dependencies within the tool had to be rewritten as php instead of html and the url() function for the referencing, the major problem are the JS scripts where I cannot use url() - there I tried to solve it via window.location.host … but I did not work.
I already saw this: Display content from HTML file on a page?
but this somehow only works for single .html files without dependencies.
I also tried to do it with an iFrame and the files-located out of the kirby structure (into the root directory), but had no luck either.
I there something I am missing out? Any Hints are Welcome!
Thanks in Advance