Author Topic: WBv2 History Monthly Not Working  (Read 5499 times)

Offline Dublin1

  • Jr. Member
  • **
  • Posts: 15
    • DOOD's Deck Weather
WBv2 History Monthly Not Working
« 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

Offline BestGear

  • Jr. Member
  • **
  • Posts: 32
    • Penicuik Weather
Re: WBv2 History Monthly Not Working
« Reply #1 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?
Penicuik Weather - http://weather.penicuik.org

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: WBv2 History Monthly Not Working
« Reply #2 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
« Last Edit: March 14, 2015, 07:14:04 AM by Mr.Meteo »
Please, consider supporting this site