I’m working in an insane mess of a CMS system where php, javascript, and html are all within templates. I’m trying to drop in code from a third party site for integration functionality, but they have javascript of the form:
<script type="lib">
Hello, <?js= firstName ?>!
</script>
The PHP interpreter see’s and does its thing, and thus the entire template errors out.
Anyone know how to perhaps wrap this code block to prevent PHP interpreter from caring about it?
Thanks in advance!
Disable PHP Short-Tags and you should not have an issue.