Note: Due to the amount of SPAM received in the forums and to better serve our customers, support is now done by sending a message using the "Contact" link above . This forum is set to read-only, but you can still search the forum.

Welcome, Guest
Username: Password: Remember me
Zap Weather Bug Report

TOPIC: HTML Problems with ZWeather 6.01

HTML Problems with ZWeather 6.01 10 years 4 months ago #141

  • soundroom
  • soundroom's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
I was trying to validate the HTML for my Joomla website front page after adding the zWeater 6.01 with a module for the current conditions. I was surprised to find many problems most of which were casued by table tags that were not properly paired with an end tag. It appeared that in one place both the table and end table tags were missing.

I traced the problems back into the zweather.html.php functions for showWeatherHTML and getObservationHTML.

The missing table tags have been commented out in the file zweather.html.php on lines 436 and 450. I removed the comment slashes

There are also redundant pairs of tr and td tags for lines 1021-1022 and lines 1027-1028. I commented out one line of each.

After making these and other changes the output validated.
The administrator has disabled public write access.

Re:HTML Problems with ZWeather 6.01 10 years 4 months ago #149

  • cogliano
  • cogliano's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1854
  • Thank you received: 57
  • Karma: 29
Thanks for the feedback. The next version will be tested for HTML validation.
The administrator has disabled public write access.

Re:HTML Problems with ZWeather 6.01 10 years 3 months ago #211

  • soundroom
  • soundroom's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 0
I see that the just released ver 6.0.2 fixes the table end tag problem.

There are still some issues in validating that I had to correct to get the page to validate as XHTML Traditional 1.0.

To get it to validate I had to correct the following in the component file zweather.html.php.
  • Many IMG tags need terminating end slash.
  • Had to comment out the echo of the LINK tags which are not allowed to be outside the pages header area.
  • Had to change attributes "spacing" and "padding" to "cellspacing" and "cellpadding"
The administrator has disabled public write access.

Re:HTML Problems with ZWeather 6.01 10 years 3 months ago #215

  • cogliano
  • cogliano's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1854
  • Thank you received: 57
  • Karma: 29
Yes, I renabled the table end tags since that was easy to do. The next major release of Z Weather will have more extensive testing on HTML validation.
The administrator has disabled public write access.
Time to create page: 0.033 seconds
Powered by Kunena Forum