Weather by You!

Templates and Projects support => Php templates => Topic started by: Dublin1 on March 12, 2015, 06:09:10 PM

Title: WBv2 History Monthly Not Working
Post by: Dublin1 on March 12, 2015, 06:09:10 PM
I have noticed that if I selecet the History Tab and then the Monthly option there is no data displayed for any month I select. Another thing I have noticed is that when I do this the Gauges Tab highlights (but the page remains on History > Monthly).
I have viewed some other WBv2 sites and noticed similar behaviour, yet I cannot find any reference to it on the forum.
I've looked at the various php files thinking that there may be a reference to a non-existent file, but I cannot see anything obvious.
Could anyone provide any clues please?
Thanks
Title: Re: WBv2 History Monthly Not Working
Post by: BestGear on March 13, 2015, 02:45:49 AM
Hi

I tried to look at your site but the url took me to a BT page.

Where is your site?
Title: Re: WBv2 History Monthly Not Working
Post by: Mr.Meteo on March 13, 2015, 11:35:39 AM
Hi Dub,

For monthly records, you have to "initialise" them into Cumulus.
Look at this post (part 1): http://weatherbyyou.com/forum/index.php?topic=515.msg1731#msg1731

For menu highlight, since you added a new main item for your forecast page,
other items are misplaced. Since this menu need to know which item to highlight,
you have to modify this line:

    // Select menu current item highlight
    //SYNTAX: tabdropdown.init("menu_id", [item menu, start from 0])
    tabdropdown.init("mainmenu", 0)

This example show 0, for index page (first menu item). just change
this number according to page selected.

Regards,
Jacques