Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
I have added BT Sager forecasting to my ajax-dashboard.php but i am getting a validation error on line 971. I do not think the code to include the code is correct for validation fails on any Saratoga templated site.
Error Line 854, Column 57: document type does not allow element "p" here; missing one of "th", "td" start-tag
… align = "center" style = "line-height : 1.3"><b>12-24 Hour Forecast:</b><br />
✉
The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.
One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
file is attached. could someone please help in fixing this issue. I'm not too sure how to add additional code into this to fix it.
Thank you.
You do not have the required permissions to view the files attached to this post.
<tr>
<p align="center" style="line-height : 1.3"><b>12-24 Hour Forecast:</b><br />
<a href="bt-sager.php" style="text-decoration:none;" target="_blank"><b><font color = "#FF0000" face = "Tahoma" size = "2">Increasing cloudiness or overcast possibly followed by rain or showers; Moderate to Fresh Breeze (13-24 mph) Southeast or South winds.</font></b></a></p>
<td class="data1" style="width: 80px;font-size: 8pt;border: none;text-align: center" valign="middle" align="center"><strong>Saturday<br/><img src="./forecast/images/sct.jpg" width="55" height="58"
alt="Sun and clouds mixed" title="Sun and clouds mixed"/><br/>Sun and clouds mixed</strong><br /><span style="color: #ff0000;">18°C</span></td>
<td style="width: 504px;" class="data1"><b>WU forecast:</b> Sun and clouds mixed. Humid. High 18C. Winds SSE at 15 to 25 km/h.<br />
<b>Davis VP+ forecast:</b> <span style="color: green; font-size:9pt">Mostly cloudy and cooler. Precipitation possible within 12 hours, possibly heavy at times. Windy.</span></td>
</tr>
Thanks guys for your help. Managed to place the Sager Forecast within the WU and Davis Forecasts for the day. looks better too now. and passes Validation.
Capture.JPG
You do not have the required permissions to view the files attached to this post.