+ Post New Thread
Results 1 to 6 of 6
Home Access Plus+ Thread, Home page 'My Files' missing disk space indicators since 8.5 in Projects:; Hi Nick, How's things? Thanks for the 8.5 release. It seems that on 8.5 the 'My Files' tile on the ...
  1. #1

    Join Date
    Sep 2009
    Posts
    136
    Thank Post
    0
    Thanked 5 Times in 5 Posts
    Rep Power
    11

    Home page 'My Files' missing disk space indicators since 8.5

    Hi Nick,

    How's things? Thanks for the 8.5 release.

    It seems that on 8.5 the 'My Files' tile on the user's home screen the disk space information is missing. Disk space etc still shows up in My Files itself, but the little bar graphs are missing from the home page tile.

    Thanks
    Moby.

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,582
    Thank Post
    39
    Thanked 513 Times in 443 Posts
    Rep Power
    115
    hmm, that's odd, can you do some HAP+ JSON Debugging

  3. #3

    Join Date
    Sep 2009
    Posts
    136
    Thank Post
    0
    Thanked 5 Times in 5 Posts
    Rep Power
    11
    The 'GET https://fqdn/HAP/API/MYFILES/drives?xxxxxxxxxxxxxxxxxxx' is no longer being called. It was prior to 8.5, but is no longer.

    Looks like everyone with 8.5 will likely have this issue ?

    Hope this helps,
    Moby

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,582
    Thank Post
    39
    Thanked 513 Times in 443 Posts
    Rep Power
    115
    Thanks for the spot, I must of missed creating one of the new live tile handlers

    after ~/scripts/hap.web.js.js line 204 add

    Code:
                    hap.livetiles.RegisterTileHandler("myfiles", function (type, initdata, size) {
                        this.id = (initdata.Group + initdata.Name).replace(/[\s'\/\\\&\.\,\*]*/gi, "");
                        this.html = '<a id="' + this.id + '" href="' + hap.common.resolveUrl(initdata.Url) + '" target="' + initdata.Target + '" title="' + initdata.Description + '" class="me"' + (initdata.Color == '' ? '' : ' style="background-color: ' + initdata.Color.Base + ';" onmouseover="this.style.backgroundColor = \'' + initdata.Color.Light + '\';" onmouseout="this.style.backgroundColor = \'' + initdata.Color.Base + '\';" onmousedown="this.style.backgroundColor = \'' + initdata.Color.Dark + '\';"') + '><span><i style="background-image: url(' + hap.common.resolveUrl(initdata.Icon) + ');"></i><label></label></span>' + initdata.Name + '</a>';
                        $("#" + initdata.Group).append(this.html);
                        $.ajax({
                            url: hap.common.formatJSONUrl("~/api/myfiles/drives"), type: 'GET', context: this.id, dataType: "json", contentType: 'application/JSON', success: function (data) {
                                var s = "";
                                for (var i = 0; i < (data.length > 3 ? 3 : data.length) ; i++)
                                    s += "<b>" + data[i].Name + "</b>" + (data[i].Space == -1 ? "<br /><br />" : '<br /><span class="progress"><label>' + data[i].Space + '%</label><u style="width: ' + data[i].Space + '%"></u></span>');
                                $("#" + this + " span label").html(s);
                                setInterval("$('#" + this + " > span > i').animate({ height: 'toggle' });", 6000);
                            }, error: hap.common.jsonError
                        });
                    });

  5. #5

    Join Date
    Sep 2009
    Posts
    136
    Thank Post
    0
    Thanked 5 Times in 5 Posts
    Rep Power
    11
    Yup, that fixed it!

    Any chance of updating the two zips so no-one else gets this prob?

    Thanks again... if only I could buy you a pint ;-)

    Moby

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,582
    Thank Post
    39
    Thanked 513 Times in 443 Posts
    Rep Power
    115
    Done in the v8.6 release

SHARE:
+ Post New Thread

Similar Threads

  1. Exchange 2003 Disk Space problem and Log Files
    By MrWu in forum Enterprise Software
    Replies: 17
    Last Post: 9th January 2012, 07:21 PM
  2. [SIMS] My supervised groups panel on home page
    By CatherineMay in forum MIS Systems
    Replies: 0
    Last Post: 7th September 2011, 08:38 PM
  3. SIMS - Home Page - My Messages Panel
    By aneena in forum MIS Systems
    Replies: 18
    Last Post: 10th June 2010, 02:02 PM
  4. what is eating my free disk space?
    By kath in forum Windows Vista
    Replies: 19
    Last Post: 8th June 2009, 04:14 PM
  5. Help my server thinks its run out of disk space.
    By pickman in forum Wireless Networks
    Replies: 7
    Last Post: 12th October 2007, 09:45 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •