1
jcortego
Weather block
  • 2003/12/16 0:40

  • jcortego

  • Just popping in

  • Posts: 16

  • Since: 2003/9/30


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.

2
CBlue
Re: Weather block

If you are using php code for the block and saving it as php, then leave off the <?php and ?>

3
jcortego
Re: Weather block
  • 2003/12/16 19:02

  • jcortego

  • Just popping in

  • Posts: 16

  • Since: 2003/9/30


Thanks a lot, Donna !!!
The block is working fine now

Login

Who's Online

137 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits