Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • babyzsmile Friend
    #125501

    Does anyone know why the following code does not work for displaying weather on my website? I generated this from weather.com and created a new module for it and its not working. PLEASE HELP. Thanks.

    <div id=”wx_module_4533″>
    <a href=”http://www.weather.com/weather/local/USNC0666″>Stokesdale Weather Forecast, NC</a>
    </div>

    <script type=”text/javascript”>

    /* Locations can be edited manually by updating ‘wx_locID’ below. Please also update */
    /* the location name and link in the above div (wx_module) to reflect any changes made. */
    var wx_locID = ‘USNC0666’;

    /* If you are editing locations manually and are adding multiple modules to one page, each */
    /* module must have a unique div id. Please append a unique # to the div above, as well */
    /* as the one referenced just below. If you use the builder to create individual modules */
    /* you will not need to edit these parameters. */
    var wx_targetDiv = ‘wx_module_4533’;

    /* Please do not change the configuration value [wx_config] manually – your module */
    /* will no longer function if you do. If at any time you wish to modify this */
    /* configuration please use the graphical configuration tool found at */
    /* https://registration.weather.com/ursa/wow/step2 */
    var wx_config=’SZ=160×600*WX=FWC*LNK=SSNL*UNT=F*BGI=snow*MAP=CSC|null*DN=www.ncnascar.com*TIER=0*PID=1057228816*MD5=a161d2e51cb1ed5c3c6db84a9883fb42′;

    document.write(‘<scr’+’ipt src=”‘+document.location.protocol+’//wow.weather.com/weather/wow/module/’+wx_locID+’?config=’+wx_config+’&proto=’+document.location.protocol+’&target=’+wx_targetDiv+'”></scr’+’ipt>’);
    </script>

    bigrk Friend
    #238268

    When you inserted the code:

    Did you create a new module?
    Did you turn off the WYSIWYG editor before inserting the code?

    babyzsmile Friend
    #238374

    :DI guess not. How do you turn it off in the module?

    canadatom Friend
    #238387

    check my weather.com module, it’s downloadable in Extension Section from Joolmla.org. If you can’t find it, email me. Good luck.

    bigrk Friend
    #238388

    <em>@babyzsmile 39495 wrote:</em><blockquote>:DI guess not. How do you turn it off in the module?</blockquote>

    Go into your Joomla Administration and select Global Configuration and under the first tab which is Site scroll down towards the bottom of the page and next to Default WYSIWYG Editor select the No WYSIWYG Editor and save. If your configuration.php is : Unwriteable you need to check the box next to “Override write protection while saving” before saving. Then go into you Weather Module and reinsert the code and save. Should work then. 🙂

    babyzsmile Friend
    #238531

    <em>@canadatom 39512 wrote:</em><blockquote>check my weather.com module, it’s downloadable in Extension Section from Joolmla.org. If you can’t find it, email me. Good luck.</blockquote>

    Okay I downloaded your modules and the customer decided to not use it. But once I uninstalled it, the RSS feed no longer appears now. What do I need to do to make it display again? Thanks.

    babyzsmile Friend
    #238534

    <em>@bigrk 39513 wrote:</em><blockquote>Go into your Joomla Administration and select Global Configuration and under the first tab which is Site scroll down towards the bottom of the page and next to Default WYSIWYG Editor select the No WYSIWYG Editor and save. If your configuration.php is : Unwriteable you need to check the box next to “Override write protection while saving” before saving. Then go into you Weather Module and reinsert the code and save. Should work then. :)</blockquote>

    Thanks BigRK. I will try this out tonight.

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 3 voices, and was last updated by  babyzsmile 16 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum