0 Members and 1 Guest are viewing this topic.
<!-- rss-top-warning-2009.php - V2.00 26-Jul-2009 BETA .010 --><!-- using cached version from rss-advisory-2009-MIZ005.txt - age=182 secs. Next fetch in 418 secs. --><div class="advisoryBoxnoactive">There are no active watches, warnings or advisories for zone MIZ005.</div><!-- zone=MIZ005 -->
<?php // insert desired warning box at top of page if ($useTopWarning) { @include_once("rss-top-warning.php"); } else { print " <div class=\"advisoryBox\">\n"; $_REQUEST['inc'] = 'y'; $_REQUEST['summary'] = 'Y'; @include_once("rss-advisory.php"); print " </div>\n"; }?>
I am using V2.00 04-Aug-2009 BETA .011 for the Top Warning and double checked all my zones are correct (PA032). Additionally am using the new rss-advisory script V2.00 04-Aug-2009 BETA .027. Would someone be so kind as to review things and tell me where I am going wrong?I have been fighting this for a few days and unsure where I am making my mistake.
//$useTopWarning = true; // set to true to use only the rss-top-warning script//
Above the code you quoted inside your wxindex.php, do you have $useTopWarning = false; ??Because top warning is not being used on your front page, rss-advisory.php is and that would cause it.Code: [Select]//$useTopWarning = true; // set to true to use only the rss-top-warning script// set to false to use the rss-advisory script instead
<?php // insert desired warning box at top of page if ($useTopWarning) { @include_once("rss-top-warning.php"); } else { print "<div class=\"advisoryBox\">\n"; $_REQUEST['inc'] = 'y'; $_REQUEST['summary'] = 'Y'; @include_once("rss-advisory.php"); print " </div>\n"; }
<?php @include_once("rss-top-warning.php");?>
I found a link color Specificity issue in the PHP carterlake template CSS compatibility with RSS Top Warning 2009The solution:PHP carterlake template users need to update to the latest css files Version: 1.22 14-Jun-2009 here: http://www.642weather.com/weather/scripts/css-theme-switcher.zipThe RSS Top Warning 2.0 PHP Script does not need updating.
I was just looking at my site and I just seen that there are no watches, warnings or advisories but the script is just puting it as text and it is not in a box. Is the above quote the reason why mine is not showing right? I do know that the rest of the template site is old....I should update it.. Thanks for any help anyone can give.
Yes, if you update the css files it should have the box