Andreas Grace Posted yesterday at 07:50 AM Posted yesterday at 07:50 AM I have this notification. So, I am using two custom blocks. One is plain HTML. The other one has some JavaScript and just a php echo to insert the script. Can I use this somehow in v5?
Daniel F Posted yesterday at 08:07 AM Posted yesterday at 08:07 AM What's the reason for not using plain HTML to add your JS code to the code? There's no need for php ?! or is it some dynamic JS code which also requires php variables?
Andreas Grace Posted yesterday at 09:28 AM Author Posted yesterday at 09:28 AM I think the php echo was used simply to insert the script. So I will try to save the javascript code in a .js file and insert it with plain HTML and see if this will make the warning go away.
Recommended Posts