1
I have a php fetch script that I am attempting to insert into a custom block. If I leave it set to 'php script', nothing happens and the script does not get executed (or if it does, nothing shows up in the block anyways). If I set it to HTML, the preview in the block admin works great, but when I actually submit it and then go look at the news page which is where it should show up, the entire page is completely messed up and the block content is not staying in the block or parsing correctly. whats going on??
Here is a screencap of what it looks like broken:
screencap1and what it SHOULD look like (as the preview correctly works):
screencap 2this is essentially what would happen if the php open and close tags were being ignored and the content just spit out like text, but why is it working in preview and not in the block?? It also works if I plop the script onto the site anywhere as a single php file and then go to the url in the browser.
I am not able to get CJay Content or Freecontent to include it correctly as a php file either.
Any help is appreciated! This is a critical piece to my site!