1
I'm trying to create a new block with weather information.
I've downloaded code that works fine when used "standalone", that is outside XOOPS.
Once in the "Add new block" page of administration section, the code works and show weather information when I click the "Preview" button, but when I confirm block creation all what I see in the main page of my site is PHP code inside the block recently created.
Besides: the code only works in Preview mode when I select "HTML" as block content, but not when "PHP script" is selected.
Any suggestions ? Thanks.