1
Hello all, I saw in the admin of XOOPS that I can add a block and specify that it is a PHP script, I never did it before but this time I needed to put a small php script into a cental block in the Home Page of the site (Top page of Xoops).
This script just check the date and display a different image if a certain date is passed.
I did the script separately and then I made a new block and put there the php code, and specified in the drop down menu that this block is a php script.
But the strange thing is that it works perfectly but I don't see anything else than the executed code, if i disable the script the site is ok, if i enable it i only see the script output and the site is gone
I looked for long here (Q&A, Faq, suppor) but I couldn't find any information regarding how to add a PHP script into a block in the top page.
Is there a special way how to add it or there is something wrong in my site? (btw it is a fresly new installation)
Thanks!